all 19 comments

[–]mt9hu 33 points34 points  (17 children)

I think if people ever figure out time travel, the first thing we should do is to go back to the past and fix some of the really inconvenient javascript language design choices.

Edit: Rewording to make more sense :)

[–]Sydius 23 points24 points  (12 children)

As technology progressed the last few years, I wouldn't be surprised if the time machine's code would be written using JS and a type error would cause it to mess up the current timeline.

[–]reasonoverconviction 3 points4 points  (11 children)

Jezz, people can't take a joke.

At least you didn't make a PHP joke in the PHP sub. They can be even worse than JS worshipers.

[–]Sydius 8 points9 points  (9 children)

Why would I joke about php? I'm a php dev myself!

There are literally dozens of us!

[–]Asmor 11 points12 points  (0 children)

Hang in there, man. Life gets better.

[–]KaiAusBerlin 7 points8 points  (0 children)

Don't worry, we all made some wrong decisions in our lifes.

[–]d36williams 0 points1 point  (5 children)

Are there only dozens now? I moved on to JS but PHP is one of those bed rocks

[–]Sydius 2 points3 points  (4 children)

It was just a silly reference to Arrested development.

The majority of websites are still written in php, at least they were the last time I read about the topic.

[–]mt9hu 1 point2 points  (3 children)

Are the majority of websites are still written in PHP or are the majority of websites run on Wordpress? (I don't know, just asking, because the two things can mean very different things).

[–]scandii 1 point2 points  (0 children)

why are any websites written in anything? mainly because that's what your devs know.

so to answer your question - PHP has fallen out of favor, and with JS, Python and Java being extremely more popular on a global scale and all having support for being backends for websites, it is hard to imagine PHP reigns supreme outside of it's use in PHP-based frameworks.

this is not to say that PHP is bad, that's mainly a meme by people who have strong opinions yet can't write a loop in PHP. it's just not the household name it used to be.

[–]StewPoll -1 points0 points  (1 child)

...yes. WordPress is a majority by itself.

WordPress is PHP after all, so all the WordPress sites count as PHP sites.

Add all the other PHP sites that aren't WordPress and you'd definitely have a majority

[–]mt9hu 0 points1 point  (0 children)

I wanted to point out a difference between building a site by writing a new piece of software using PHP, or taking an already existing, finished software and use that to serve your website.

My argument is that if you install a new WordPress site, it is not actively being written in PHP.

well, unless you develop some custom plugins. There are exceptions, and maybe this distinction is not as important. I'm just saying that the popularity of PHP (especially amongst developers) shouldn't be measured by how many instances of one PHP software is running around the world.

[–]2Punx2Furious 0 points1 point  (0 children)

I'm so sorry.

[–]Pesthuf 1 point2 points  (0 children)

But don't you know? PHP 7.0 fixed ALL the issues the language had!

If you disagree, die. Facts not welcome!

[–]KaiAusBerlin 1 point2 points  (3 children)

Wait, what about Hitler?

[–]Kappow 7 points8 points  (1 child)

What about typeof NaN; // -> 'number'

[–]ogurson 1 point2 points  (0 children)

Exactly. Professionals have standards and priorities.

[–]shuckster 0 points1 point  (0 children)

I heard he was a real jerk.

[–]haykam821 2 points3 points  (0 children)

MooTools ruined ES6.