by jqueryin on 10/14/16, 2:18 PM with 104 comments
Whether it's taking classes, working on side projects, or reading the latest blogs, everyone seems genuinely interested in learning.
Based solely on vote counts alone on the frontpage for the last few days, there appears to be a very large portion of the HN community that both readily follows PHP and/or actively uses it.
What I find most interesting, however, is the comments section.
There's a large camp of developers on HN that are very outspoken regarding their abhorrence of PHP. The language has been ridiculed for well over a decade, so this is to be expected.
What's most intriguing is what you don't see in the comments: the huge number of proponents of PHP.
So where does this discrepancy between vote counts and comments stem from?
I would venture to guess the vote counts themselves stem from silent proponents. They likely don't provide counter arguments because it's simply not necessary. Nothing is gained.
Everyone here has a unified goal of working on cool problems, building amazing applications, and hoping to strike paydirt for all of our hard work.
Maybe it's time we all think about why it is we complain about language X vs. language Y and just get back to trying to make our lives and those around us better, through code.
by pwinnski on 10/14/16, 4:00 PM
I think many of the loudest anti-PHP voices are ex-PHP developers. They/We naturally assume our own experience is normative, and since we didn't know X, Y, or Z back when we were coding in PHP, obviously neither does anybody else still coding in PHP.
Or, more graciously, back then PHP was the best language we had learned up to that point (better than BASIC or Perl, say), but now we use Ruby or Python or something else, so now we recognize the deficiencies in PHP. Clearly those other people, just a few steps behind us on the path, need to also learn about the deficiencies in PHP and how much better X is.
There are any number of nuanced ways for that to be expressed, but ultimately I think it's mostly tribalism, and obviously unhelpful. Sure, I used to write PHP. Built my first startup with it, sold it, and stuck with it for a few years more even after that. And sure, I don't write in PHP any more. These days it's Python or Java or Clojure for me. Because PHP sucks? No, because it doesn't suit what I'm doing these days as well. And not necessarily for reasons related to the quality of the language.
by s0l1dsnak3123 on 10/14/16, 3:39 PM
Many many yes voters (including myself) were very surprised by this result - the internet was on fire with grass roots activism of all kinds. Glasgow had weekly rallies with thousands (sometimes tens of thousands) attending. And yet we lost.
I can't help but wonder if we're witnessing the same phenomena - a silent majority of people who feel no need to contribute to the discourse but have different opinions and values on the subjects us in the comments section are discussing.
Interesting stuff.
by gkya on 10/14/16, 4:13 PM
by throwaway420 on 10/14/16, 3:01 PM
People are probably concerned about not being viewed as a good or knowledgeable developer if they admit to using PHP here, so it's probably not a fight that's worth having for most posters. People don't always give their genuine opinions when they think that their personal reputations or livelihoods are on the line.
This isn't just the case in technical or career matters, but especially when it comes to personal reputation. Just ask people how many sex partners they've had: the results will probably be skewed up or down in fairly predictable ways if people think there's a chance that they'll be judged somehow based on the answer.
Personally I think PHP is a useful (and extremely imperfect) tool that is very appropriate to solve a fairly wide range of problems. For certain problems, it's arguably the best tool. That's why it's going to be around for quite a while.
by nbouscal on 10/14/16, 3:47 PM
by chrisgoman on 10/14/16, 10:14 PM
by 1123581321 on 10/14/16, 2:48 PM
by ythl on 10/14/16, 3:27 PM
by hotsy_botsy on 10/14/16, 3:40 PM
I challenge you to come up with a better car analogy.
by z0r on 10/14/16, 3:32 PM
by leovonl on 10/15/16, 6:07 PM
In fact, I've been hearing for 10 years things like "what, OCaml? where do we hire someone to work on this?", "Haskell? nobody uses that", and more recently "we cannot use Rust as we don't have anyone that can possibly understand this". Saying "PHP is just another language/tool" is just throwing the towel without trying to understand anything.
What would you think if someone said "coal is just another fuel, stop trying to push electric, let me use coal and go on with life"? Well, a lot of people believe this, but let's pretent there's a consensus on this, shall we?
So, the question is: you CAN use PHP for doing web development. You can also use coal as a fuel. Not only that, but all libraries are written with this in mind, all code bases and fragments of code are focused on web development, etc. Coal is also combustible, a lot of manufactures dominate the technology, it's cheap, so.. hey, energy!
Even if the language is pure crap - as coal is as a fuel - people will only hit the crappy parts when their system is already implemented and being used by more people. "Hey, this language has a lot of issues" - "hey, this coal thing really polutes". Too late. You already have a full system implemented, you have experience with the language - or energy production technology... so you just change your workflow to accommodate this. Or you just never realize it - "whatever, no big deal" - and keep using it, as you see the advantages as more important.
There's tons of factors that contribute to the PHP popularity - the same thing with C, Perl, etc. Doesn't mean the language is good, and also doesn't mean everyone has to agree with you that "it's just another tool, let's go back to business".
So yeah, no.. I won't let you go on with PHP, sorry. I want better tools, better systems, and I want to spread knowledge. I guess we are going to agree to disagree on that.
by tbirrell on 10/14/16, 3:38 PM
by circlefavshape on 10/14/16, 5:17 PM
I've been writing php professionally since 2000, and I like it well enough. I know it so much better than any other language that, 20 years into my career, I can't see how I'll ever learn another one well enough to compare them.
by mst on 10/14/16, 4:44 PM
Mostly I file it under "hipsters gonna hipster" and then go back to doing something useful.
by oliwarner on 10/15/16, 12:26 AM
by flanger001 on 10/15/16, 1:25 PM
by ryanlm on 10/14/16, 3:13 PM
by ryanlm on 10/14/16, 5:34 PM
by crimsonalucard on 10/15/16, 2:20 AM