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

Programmer Humor

32171 readers
490 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
[–] KillingTimeItself@lemmy.dbzer0.com 9 points 5 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"

[–] inetknght@lemmy.ml 5 points 5 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)
[–] Shape4985@lemmy.ml 8 points 5 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.

[–] ADTJ@feddit.uk 3 points 5 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)
[–] xmunk@sh.itjust.works 6 points 5 months ago
  1. Ajax.

  2. Uhhh....

[–] fin@sh.itjust.works 6 points 5 months ago
  1. Stackoverflow codes on behalf of you

  2. Can code browser extensions

[–] 420stalin69@hexbear.net 6 points 5 months ago
  1. Duck typing
  2. Typescript
[–] AstridWipenaugh@lemmy.world 5 points 5 months ago

!!isAdvantage

[–] Reddfugee42@lemmy.world 5 points 5 months ago* (last edited 5 months ago)
  1. Ubiquity
  2. Easy adoption for those familiar with C family of languages
[–] bloubz@lemmygrad.ml 3 points 5 months ago* (last edited 5 months ago)

JIT compilation

load more comments
view more: ‹ prev next ›