3 ms·
pick a random language, ruby, python, javascript etc etc and you'll find similar rants/complaints. Yet I think right now it's cool to shoot on PHP therefore eve
by thinkindie 6y ago
pick a random language, ruby, python, javascript etc etc and you'll find similar rants/complaints. Yet I think right now it's cool to shoot on PHP therefore everyone is more vocal
- msla 6y agoWhen someone gives you a long list of reasons why they hate something, why do you conclude they only hate it because it's trendy to hate it?
- thinkindie 6y agobecause this kind of rants are pointless, they are not bringing any value. Every language comes with their own inconsistencies or oddity. Most of those points raised are just added to a laundry list for its own sake, it's not something you come along every single day. You might have a WTF moment once in a while but that's something that happens with every language. I'm still not able to understand why everyone hate PHP and then at the same time love Javascript or Python or Ruby.
- balfirevic 6y agoNot every language comes with the same amount of inconsistencies and oddities. As an illustration, compare the amount and severity of WTF moments found in Ruby vs. Javascript in this presentation: https://www.destroyallsoftware.com/talks/wat https://www.destroyallsoftware.com/talks/wat
- cygx 6y agoYet I think right now it's cool to shoot on PHP This is not a recent thing, it has always been cool to mock PHP. It's not entirely unwarranted, but most programming languages have their own warts. For example, for some reason, creators of dynamic languages think they need to mess with variable declaration, to make it more accessible, or whatever, instead of staying with tried and true lexcially-scoped block-level variables with explicit declaration. As far as I can tell, the result always ends up worse.
- dnautics 6y agoI don't know if that has to do with dynamic languages. Elixir reduced the scope of variables so that, for example, you must export it out of if statements, which irritates devs coming from most languages but which I think is a fantastic feature.
- pizza234 6y ago> pick a random language, ruby, python, javascript etc etc and you'll find similar rants/complaints Yes, but that's not the point - the primary trait of "old PHP" (I don't know the "new PHP") is that it has not been designed. Languages like Ruby, Python, etc. may have been designed, in a better or worse way, but there's a radical difference with a language that hasn't been designed at all.
- triceratops 6y ago> I think right now it's cool to shoot on PHP That article is from 2012. If a "fad" lasts 7 years, is it still a fad?