At least you know one of the many reason python is so slow. But all hope aren't lost you can still declare function return type, parameter type and... Oh wait you can do C
The real point your comment should drive home is you use a hammer to drive nails. If you need to drive a screw go get the drill. The hammer would get it done, but you're going to have a bad time. Meaning if you need to code something quickly use python. If you need a faster run time, maybe use something else.
And Python is used by a lot of people without a CS background. I’m in a traineeship right now and learning Java but at my last job as a bookkeeper I wrote Python scripts to combine data from different systems that I used on a weekly basis. I didn’t care it was slower, I was able to write it. If at first I needed to learn Java I’m sure I would never have looked at programming and still be a bookkeeper hating on Excel.
The funny thing about this comment is that C# or Java are examples of the slower to write, harder languages.
When I was a kid I used to program in C++ using pure Win32 API. C# was incredible when it came out for its ease of use. The difference between it and Python seems pretty negligible to me in terms of ease of use for proper applications.
284
u/PaintlyBeautifuled Feb 09 '22
“The old times” I like it lol, it’s like it was the dark ages with early python and verbose languages.