r/ProgrammerHumor • • Aug 26 '20

Python goes brrrr

Post image
59.2k Upvotes

789 comments sorted by

View all comments

Show parent comments

0

u/[deleted] Aug 26 '20

[deleted]

403

u/zdaga9999 Aug 26 '20

Well you can put semicolons, python doesn't care.

0

u/[deleted] Aug 26 '20

[deleted]

21

u/[deleted] Aug 26 '20

I don't like using Python for really serious applications, but it's a fantastic language for small projects and system scripting. It's a nice upgrade from bash scripting... if a script is going to need more than 20ish lines of bash code, or if it needs to analyze the output of programs, Python is the next logical step.

It takes longer to write the boilerplate to set things up and call the programs you want, but then you've got a very nice, friendly syntax and can do all kinds of advanced data manipulation without working very hard.

But then when you start getting to any kind of real complexity, I start to find it annoying. Duck typing can be damnably hard to troubleshoot when programs get big. Ensuring that your Python program is operating securely and won't do something unexpected, even when given bad or malicious data, can take a heck of a lot of test code.

→ More replies (5)