this post was submitted on 21 Apr 2024
719 points (97.0% liked)

Programmer Humor

32718 readers
406 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
(page 2) 50 comments
sorted by: hot top controversial new old
[–] [email protected] 9 points 8 months ago (12 children)

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"

[–] [email protected] 5 points 8 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.

load more comments (1 replies)
load more comments (11 replies)
[–] [email protected] 8 points 8 months ago (1 children)

Damn this is hard. I keep java script disabled by default so its hard to say anything good. I begrudgingly have to whitelist websites i need that cant run without it.

[–] [email protected] 3 points 8 months ago (1 children)

I feel like that's more because you don't want websites you visit running code than because you dislike this particular programming language

load more comments (1 replies)
[–] [email protected] 6 points 8 months ago
  1. Duck typing
  2. Typescript
[–] [email protected] 6 points 8 months ago
  1. Ajax.

  2. Uhhh....

[–] [email protected] 6 points 8 months ago
  1. Stackoverflow codes on behalf of you

  2. Can code browser extensions

[–] [email protected] 5 points 8 months ago* (last edited 8 months ago)
  1. Ubiquity
  2. Easy adoption for those familiar with C family of languages
[–] [email protected] 5 points 8 months ago

!!isAdvantage

[–] [email protected] 3 points 8 months ago* (last edited 8 months ago)

JIT compilation

load more comments
view more: ‹ prev next ›