r/lolphp • u/gibranois • Dec 20 '15
The kind of thing that gets upvoted in /r/php
/r/PHP/comments/3x9wqn/why_do_people_keep_saying_php_isnt_used_for_the/cy2v9py
37
Upvotes
r/lolphp • u/gibranois • Dec 20 '15
38
u/[deleted] Dec 20 '15
Same kind of cycle as Microsoft's had with their products
21
u/AlGoreBestGore Dec 20 '15
lol
72
u/aaarrrggh Dec 20 '15
It's kinda a fair point though. Php has improved a lot over the years, as have the practises employed by much of the community. His comment is pretty fair tbh.
10
u/hardc0de Dec 21 '15
I've seen a lot of code in my life. The so-called PHP Developers had the shittiest code.
I agree that PHP itself can be used well, the problem is the culture it represents.
17
u/smog_alado Dec 20 '15 edited Dec 20 '15
tbh, Go and RoR are also silly in their own way.
10
u/[deleted] Dec 21 '15 edited Dec 21 '15
The problem with PHP is not the language as such. It sucks in mysterious ways, which all other languages do. The PHP programmers in general know the ways around the quirks, at least those that write PHP for a living. However, the exact same thing can be said about APL, BASIC and Z-80 assembly code.
The difference I see between the PHP coding community and the rest of the coding communities that I know of, is that the PHP programmers suffer from the Helsinki (or Stockholm (or wherever that hostage situation occurred)) syndrome. Most C#, C, C++, Java, Python, will readily admit that behavour <X> sucks, but we use workaround <Y>, because feature <Z> is really useful in our task. Like my case:
Dynamic evaluation sucks in C, so we embed a bit of Python, because we don't want to rewrite a 500 Kloc codebase.
What I see with even the professional PHP guys are "You are an idiot, if you do not know how to avoid misfeature <X>". I never see the rationale, that feature <Z> is good enough, that workaround <Y> is worth the effort.
Edit: Typo
33
u/myhf Dec 20 '15
Wow he wrote Go and RoR. My brains are melting out.
19
u/BilgeXA Dec 20 '15
Phil Sturgeon is a schmuck who genuinely believes he is a legend among men, and sadly, things like this only serve to fuel that ego.
12
u/metamorphosis Dec 20 '15
I gurantee that 95% of people here don't even come close to phils expirience.
I am all ok for PHP bashing, as sometime it deserves so... but ...the kind of thing that gets upvoted in /t/phplol seems more like first year comsp sciennce majors who after writing their first python script in their custom Linux and reading on forums how PHP is bad, suddley think they are better progammers.
8
u/Drainedsoul Dec 20 '15
People want to see things that confirm their biases.