Oefrha just said that his, and probably yours, code is not worth that much if splitted into functions and commentary blocks. The value of software comes from its whole purpose, not your clever email-validation-regex you are so proud of.
Some algorithms in scientific computing require lots of effort to implement as nice, reusable, performant function. Those functions often more important than whatever the whole is doing because it's what most other people will be interested in using.
Really? I challenge you to write a correct email validation regex.
Let's just copy each other's code without attribution.
If it’s all just disposable code, WHY ISNT MICROSOFT TRAINING COPILOT ON WINDOWS AND OFFICE CODE?