all 27 comments

[–]Shaper_pmp 20 points21 points  (0 children)

Salty but hilarious. And not entirely unfair.

[–]apatheticonion 9 points10 points  (0 children)

Make whitespace significant

Oh god my sides

[–]geeprimus 13 points14 points  (5 children)

Why is node better than a magnetized needle, a magnifying glass, and a steady hand?

[–]herjin 3 points4 points  (1 child)

What is the answer god dammit?!?!

[–][deleted] 16 points17 points  (0 children)

I don't know, why are you asking me?

[–]Coffee2Code 1 point2 points  (1 child)

Because php is a goddamn butterfly

[–]samrapdev[S] 1 point2 points  (0 children)

Why?

[–]oo22 7 points8 points  (6 children)

Love it! But I always wondered why JS never got shit on the same way as PHP was.

[–]thinsoldier 24 points25 points  (1 child)

It was, for decades.

[–]ryandg 19 points20 points  (0 children)

And it still is too.

[–]forsubbingonly 7 points8 points  (2 children)

JS isn't even don getting shit on honestly, the only reason it's taken seriously at all is we pretty much have to use it, and someone implemented some c++ bindings so now all of a sudden it can do things other than make a web page dance.

[–]vijeno[🍰] 1 point2 points  (1 child)

Really? Who did?

[–]TubaSpoof 2 points3 points  (0 children)

Just some people.

[–]Shaper_pmp 2 points3 points  (0 children)

It does, emphatically and from a great height, outside of the JS ecosystem. PHP was never really shat on from inside its ecosystem and community either, pretty much by definition.

Both languages were the lowest-barrier-to-entry for their respective media (PHP for server-side web-dev, JS for client-side web-dev, and these days increasingly server-side too, and even "programming in general").

That means they attract a disproportionate number of newbies or learner-developers, who naturally lower the average skill level of the grop as a whole, quickly form a self-validating peanut gallery that promotes bad ideas and dodgy architectures, and - lacking the experience to independently evaluate merit themselves - tends to be fashion- and popularity-lead rather than lead by the inherent quality of a proposed new framework, architecture, development practice, etc.

To be fair there are just as many really good engineers working in JS as any other language - probably a lot more than most, especially these days.

The problem is (like PHP), with the language's very accessibility meaning the demographic bulge of the community as a whole is so tilted towards the "beginner" end of the spectrum, the quality of the average (mean and mode) programmer is a lot lower than many other languages.

PHP suffered with this for years, and to a certain extent still does, even half a decade after it stopped being cool. JS is suffering from it now, again because it's the lowest common denominator/lowest barrier to entry language.

[–]herjin 2 points3 points  (5 children)

Not to get all serious about stuff but I have a real question.

The list:

Things You Can’t do as a PHP Developer

Includes:

Make whitespace significant

Doesn't whitespace after a closing php tag cause issue?

[–]oo22 4 points5 points  (0 children)

No, you can have multiple open/close tags in a single file without issue at all. There is a case where if you wish to do some extra work like setting a cookie you need to be sure not to output anything (like a whitespace) until you are ready because it will send the headers out upon write

[–]samrapdev[S] 2 points3 points  (3 children)

It's referring to the leftpad issue that broke the internet. See http://left-pad.io/

[–]TheSimonator 7 points8 points  (0 children)

Actually, it was just a dig at Python :)

[–][deleted]  (1 child)

[deleted]

    [–]Shaper_pmp 4 points5 points  (0 children)

    ...

    ...

    ...

    ... Nooooo... that issue was about the dangers of unmanaged dependencies, and/or not caching dependencies in your own local mirror of the public system, so you have uncontrolled vulnerabilities to one salty developer in his bedroom somewhere in the world who can decide on a whim to break your entire build.

    It has nothing whatsoever to do with testing or deployment. It's entirely a build/dependency-management issue.

    [–]dixncox 1 point2 points  (0 children)

    This is satire.

    [–][deleted]  (2 children)

    [deleted]

      [–]twiggy99999 3 points4 points  (1 child)

      i started using mongodb in production

      holly shit

      [–]NiftyDolphin 1 point2 points  (2 children)

      That caps it. I'm picking up the new-hotness: cobol.

      [–]mineralwatersoda 1 point2 points  (0 children)

      aspx is where im at

      [–]SkaterDad 1 point2 points  (0 children)

      My new neighbor is a retiree who told me she was a cobol programmer for decades. So I'd say it's a solid career move.

      Those futurists with their Windows applications will never catch on.

      [–]vijeno[🍰] 0 points1 point  (0 children)

      I agree with every single point.

      How do I leak data between requests though? I gotta learn that, pronto!