this post was submitted on 23 Jun 2024
727 points (96.5% liked)

Programmer Humor

20039 readers
3413 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] 9point6 15 points 7 months ago (8 children)
[–] bahbah23 25 points 7 months ago (7 children)

I've read different defenses for JavaScript for cases like this, which usually runs somewhere from you shouldn't be doing that anyway all the way up to if you just understood the language better you'd know why. While I agree with both of those points strongly as general principles, JavaScript also violates the principle of least surprise enough to make it concerning.

For what it's worth, I do like JavaScript. I really don't think that there is any perfect programming language.

[–] [email protected] 14 points 7 months ago (4 children)

I really don't think that there is any perfect programming language.

You'd be wrong 🦀🦀🦀🦀🦀

[–] bahbah23 2 points 7 months ago

Fair, I haven't used Rust so I don't really have an opinion on it.

load more comments (3 replies)
load more comments (5 replies)
load more comments (5 replies)