- It’s not PHP.
- I don’t know. I didn’t think I’d get this far.
- It’s not PHP
- It’s already implemented in browsers
PHP has gotten really good over the past few versions, actually. Lots of really great stuff has been added, it feels like it resembles rust more every release lol
PHP10: We now allow interop with Rust!
PHP11: We now allow writing code directly in a .php file and compile it with rustc.
Can’t forget the intermediate step of PHP 9: PHP borrow checker
- You can call it “Java” to enrage other programmers
- You can compare numbers against strings without wasting time converting them
The scripting language formerly known as Java.
- It runs in the browser
- Web developers know it already so we might as well
- Job security
- its not COBOL
deleted by creator
1 - Easiest way to run a script in your browser
2 - Always finds its way if inputs are bad
Nan - undefinedEasiest? More like… The only way.
It leads to typescript
You get surprises from npm
deleted by creator
That’s Java, not Javascript. Java is to javascript as ham is to hamster.
deleted by creator
Or car to carpet
Or fun to funeral
deleted by creator
hmm, let’s see.
It’s not java.
It’s also not a scripting language.
also to the repeat grammar nazi in the comments here, hi, “its”
It’s also not a scripting language.
It definitely is a scripting language.
hello-world.js:#!/usr/bin/env node console.log("Hello world");Your favorite command line tool:
chmod +x ./hello-world.js ./hello-world.jsYou just need to install
npm, eg viaapt-get install npm.everything is a scripting language if you try hard enough.
awaitandasync- Is available to be used in website scripting.
- Not quite as full of footguns as PHP (although it is close).
- Its not java
Which is a blessing for Java.
A lot of people are familiar with it and…um…hackers like it being in use?
We have forced it, quite hamfistedly, to do anything. The organic hell-evolution of web browsers turned them into do-anything sandboxed mini-OS. It meant whatever hellish code you used to write your corporate mandated web app could now become a perfectly bloated standalone application. And the demonic language that would enable it was called Javascript. It does the backend and it does the frontend. You could consider those advantages over other devices, like toasters and those handheld electronic games from the 80s.
Browsers love it!
Practically anything you write will execute without all that scope and well formed statements nonsense.
Mind you, number 2 is also its biggest flaw as well, but…
deleted by creator









