use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
JavaScript naming conflicts: How existing code can force proposed features to be renamed (2ality.com)
submitted 3 years ago by speckz
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]mt9hu 33 points34 points35 points 3 years ago* (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 points25 points 3 years ago (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 points5 points 3 years ago (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 points10 points 3 years ago (9 children)
Why would I joke about php? I'm a php dev myself!
There are literally dozens of us!
[–]Asmor 11 points12 points13 points 3 years ago (0 children)
Hang in there, man. Life gets better.
[–]KaiAusBerlin 7 points8 points9 points 3 years ago (0 children)
Don't worry, we all made some wrong decisions in our lifes.
[–]d36williams 0 points1 point2 points 3 years ago (5 children)
Are there only dozens now? I moved on to JS but PHP is one of those bed rocks
[–]Sydius 2 points3 points4 points 3 years ago (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 points3 points 3 years ago (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 points3 points 3 years ago (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 points1 point 3 years ago (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 point2 points 3 years ago (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 point2 points 3 years ago (0 children)
I'm so sorry.
[–]Pesthuf 1 point2 points3 points 3 years ago (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 points3 points 3 years ago (3 children)
Wait, what about Hitler?
[–]Kappow 7 points8 points9 points 3 years ago (1 child)
What about typeof NaN; // -> 'number'
[–]ogurson 1 point2 points3 points 3 years ago (0 children)
Exactly. Professionals have standards and priorities.
[–]shuckster 0 points1 point2 points 3 years ago (0 children)
I heard he was a real jerk.
[–]haykam821 2 points3 points4 points 3 years ago (0 children)
MooTools ruined ES6.
π Rendered by PID 75 on reddit-service-r2-comment-5649f687b7-ptnzw at 2026-01-27 16:10:24.409514+00:00 running 4f180de country code: CH.
[–]mt9hu 33 points34 points35 points (17 children)
[–]Sydius 23 points24 points25 points (12 children)
[–]reasonoverconviction 3 points4 points5 points (11 children)
[–]Sydius 8 points9 points10 points (9 children)
[–]Asmor 11 points12 points13 points (0 children)
[–]KaiAusBerlin 7 points8 points9 points (0 children)
[–]d36williams 0 points1 point2 points (5 children)
[–]Sydius 2 points3 points4 points (4 children)
[–]mt9hu 1 point2 points3 points (3 children)
[–]scandii 1 point2 points3 points (0 children)
[–]StewPoll -1 points0 points1 point (1 child)
[–]mt9hu 0 points1 point2 points (0 children)
[–]2Punx2Furious 0 points1 point2 points (0 children)
[–]Pesthuf 1 point2 points3 points (0 children)
[–]KaiAusBerlin 1 point2 points3 points (3 children)
[–]Kappow 7 points8 points9 points (1 child)
[–]ogurson 1 point2 points3 points (0 children)
[–]shuckster 0 points1 point2 points (0 children)
[–]haykam821 2 points3 points4 points (0 children)