this post was submitted on 16 Jul 2023
711 points (92.4% liked)

Programmer Humor

32561 readers
391 users here now

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

Rules:

founded 5 years ago
MODERATORS
 

No offence

you are viewing a single comment's thread
view the rest of the comments
[–] monk@lemmy.unboiled.info 1 points 1 year ago (1 children)

And in GJS? All other runtimes?

In, say, C, such basic stuff is right there, in the standard.

Javascript isn't even standardized, some ECMAScript is, so I don't even know what we're talking about.

[–] Feathercrown@lemmy.world 1 points 1 year ago (1 children)

All ECMAScript is standardized because that refers to the standard.

I think you're discounting the different environments that JS runs in. Something like C runs in a much more uniform environment (the OS) while JS must be able to run in different runtimes. It's like how windows has APIs that C can access, but obviously you can't access them when running C from other OSes (forgive me if that's inaccurate, I don't use C often).

[–] monk@lemmy.unboiled.info 2 points 1 year ago

Making it an excellent choice for a programming beginner --sarcasm