this post was submitted on 21 Apr 2024
703 points (97.1% liked)

Programmer Humor

32494 readers
562 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 6 months ago (1 children)

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.js

You just need to install npm, eg via apt-get install npm.

[–] [email protected] 2 points 6 months ago

everything is a scripting language if you try hard enough.