this post was submitted on 02 Mar 2024
516 points (93.9% liked)

Programmer Humor

19623 readers
1 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] dan@upvote.au 1 points 8 months ago* (last edited 8 months ago) (1 children)

ECMA 6 has had drastic improvements over the past js…

Sure, but it still lacks basic built-in features. For example, why do maps and sets not have sort or filter methods? In Node, why is there no built-in way to connect to a database of any sort? Why can Node.js apps only use a single time zone? Requiring libraries for everything is not ideal as the libraries vary wildly in quality and they can end up either abandoned or containing malware (which has happened several times in the Node ecosystem).

still infinitely better than php

They each have their pros and cons, depending on use case. Node.js does some things better than PHP, but the opposite is true too.

  • You can build a whole PHP website without using any third-party libraries, and it'll work on any web host that supports PHP (literally any good web host that exists today). There's value in having that level of flexibility.
  • You can build a PHP site today and it'll mostly still be working (maybe with some minor changes) in 5 years, whereas for some of my Node.js sites I have to switch to an older version of Node just to build them. For example https://obviousspoilers.com/ has been practically untouched since 2009.
  • The fact that PHP can run multiple apps in the same FPM process means that you can run thousands of sites on a single server without issues. There's some non-Node solutions to this (like Cloudflare workers) but they're mostly proprietary at the moment.
  • There are more PHP than Node.js jobs, and far more sites use PHP. Wordpress uses PHP and powers over 40% of the web, so that means that at least 40% of all websites use PHP.
[–] xor@infosec.pub -1 points 8 months ago (1 children)

wordpress does not power 40% of the web...
im not going to argue any more than that because this is a humorous type community, and ya'll are getting too serious.

i hope you enjoy all of your "programming" with your garbage little "language" and POS word🤢press🤮

p.s. notice how everyone who argues in favor of php and wordpress ONLY know that language and framework?
what a curious thing...

[–] dan@upvote.au 0 points 8 months ago* (last edited 8 months ago) (2 children)

i hope you enjoy all of your "programming" with your garbage little "language" and POS word🤢press🤮

p.s. notice how everyone who argues in favor of php and wordpress ONLY know that language and framework?

lol I don't use PHP any more... I primarily use C#. I can still see the advantages of PHP without it being a language I use day-to-day.

wordpress does not power 40% of the web...

Do you have any data that proves otherwise? Because all available data I've seen disagrees with you.

https://wordpress.org/40-percent-of-web/

https://w3techs.com/technologies/details/cm-wordpress

It's not just small sites. A bunch of major publications use WordPress too. Forbes and TechCrunch both use WordPress for example.

[–] xor@infosec.pub 1 points 8 months ago (1 children)
[–] dan@upvote.au 1 points 8 months ago* (last edited 8 months ago) (1 children)

also downvotes aren't supposed to be used just because you disagree with someone's opinion. Your comments seem like a typical redditor so please just go back to Reddit if you're going to use downvotes that way.

[–] xor@infosec.pub 1 points 8 months ago

i see you've switched troll tactics...

just chill the fuck out, do whatever you want with what programming language you want, and leave me alone, dan

dan