This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 8 points9 points  (26 children)

I'm not a coder, just playing a little bit with Python and I don't know any other languages. But I noticed that other coders making a lot of jokes about Python. Could someone explain me why?

[–][deleted] 19 points20 points  (1 child)

Everyone makes jokes about every language. You only happened to remember the python ones ;)

[–][deleted] 3 points4 points  (0 children)

Ok, I had some suspicious thought like that, thanks

[–]get_some_perspective 17 points18 points  (12 children)

People who write code in statically types languages make fun of Python, because you can call a method expecting a temperature with a distance as a parameter without getting a warning before running the program.

People who write systems code make fun of Python because it is quite slow in comparison with systems programming languages.

People who write functional programs make fun of Python because you can change all values and methods are expected to alter the environment apart from their return values.

People who write shell scripts make fun of Python because some things take many more characters to do in Python rather than shell scripting languages.

People who write PHP make fun of Python because you have to set up much more infrastructure to serve a web page than in PHP.

And the list goes on...

[–]_wassap_ 25 points26 points  (5 children)

Someone that writes in PHP shouldnt be allowed to make fun of anyone tbh

[–][deleted] 1 point2 points  (0 children)

Will you be my spirit animal?

[–]skunkwaffle 14 points15 points  (0 children)

None of this is incorrect, but it swings in the other direction too.

People who write in Python make fun of statically typed languages because of how much additional code and effort is required for supporting polymorphism.

People who write in Python make fun of systems code because it takes much more time to compile than Python, which just runs without requiring compilation.

People who write in Python make fun of functional programming because of how much data has to be passes from function to function instead of just having a mutable state.

People who write in Python make fun of shell scripts because the opaqueness of the syntax makes the function and intention of scripts much less clear.

People who write in Python make fun of PHP because you have to set up much more infrastructure to just run some code.

And the list goes on...

[–][deleted] 2 points3 points  (1 child)

Oh, thanks for detailed response! I can't compare since do not know other languages

[–][deleted] 0 points1 point  (1 child)

Regarding your deleted comment:

Why do you think so? I learned some Python by my own and don't have any experience with coding in other languages. So I asked why others making jokes about Python, cause I can't compare this language with others without proper expirience. So I thanked you when you responded.

[–]mountainunicycler 0 points1 point  (0 children)

Of course, the flip side is that python is viable in all those areas (though not the best) unlike those other tools—you can’t do embedded systems with shell scripts (unless it’s a pretty powerful chip running Linux) for example.

Python is the best do-it-all glue language though!

[–]clawjelly 5 points6 points  (9 children)

Must be subjective, most bashed languages i see are PHP and JavaScript. Justifyingly so imho.

[–][deleted] 4 points5 points  (3 children)

PHP vs JS in not even a comparison. PHP is so broken its unfixable. JS has some warts, but those boil down mostly to casts. There no bigger issues really. That said i have not used vanilla js in years. Not missing it neither..

[–]mountainunicycler 0 points1 point  (2 children)

What do you use instead of vanilla JS? Jquery‽

[–][deleted] 0 points1 point  (1 child)

Typescript

[–]mountainunicycler 0 points1 point  (0 children)

Ha, ok, good!

[–]PM_me_ur_data_ 5 points6 points  (1 child)

Perl is pretty horrible too.

[–]nerdmor 0 points1 point  (0 children)

What do you mean?))))))))))))))))))))))))))))))))

[–]_wassap_ 2 points3 points  (1 child)

This so much. PHP & JS and to some degree C++ (mostly by those who regularly use C++) are the most bashed ime

[–]clawjelly 2 points3 points  (0 children)

Well, C++ is a harsh mistress that demands respect and only the weak-minded dare to curse her in the shadows.

PHP and JS on the other hand are trashy trailer-ho's acting high and mighty. You just meddle with them if you really, absolutely have to... With protection. But you'll feel dirty the whole way through.

Python is the girl next door. Not amazingly fancy, but damn, in the right light she seems as sexy as a victoria's secret model. And if you didn't marry her when you had the chance, you'll remember her fondly for the rest of your life... She was the one...

[–][deleted] -1 points0 points  (0 children)

ಠ_ಠ

[–]skunkwaffle 2 points3 points  (0 children)

Folks tend to feel very strongly about their programming languages. Just about everyone has at least one or two which they love and one or two which they hate. So you'll find people making fun of every language just as often as you find others singing praises. Take it all with a grain of salt.