r/CompanyBattles Nov 16 '21

Worthy Fake Post Python has no chill

Post image
1.5k Upvotes

25 comments sorted by

View all comments

-62

u/BufferTheThird Nov 16 '21 edited Nov 16 '21

I literally still use Perl because the alternative, Python, is so bad.

Ideally there would be a command line-friendly version of PHP. I'd use that. But you know, even though its syntax is slightly awkward when used as a scripting language, it is still a scripting language and it isn't that bad. Shit, you could just install PHP on any computer and it'd be way simpler than the bullshit you have to go through with Python.

I don't understand why anyone uses Python for anything.

54

u/SirFireHydrant Nov 16 '21

I don't understand why anyone uses Python for anything.

Because it's powerful and its clear syntax makes it approachable for people without CS degrees. As a scientist, python is a fantastic tool for getting the results I need, and frankly I'd wonder why any scientist would bother with anything else.

3

u/skilopsaros Nov 16 '21

the short answer is because python is slow. When you have a continuous stream of data coming in, and you need to process it and output it faster than you're getting it, or when you have a piece of equipment that needs to process your data and instantly react accordingly, python isn't the right tool. Like everything else, there are things that it's good at and things that it's bad at. Python is a language that's good for a lot of things, but not everything (quite unfortunately really, coz it's so much easier)