this post was submitted on 27 Jun 2023
52 points (93.3% liked)

Programmer Humor

32595 readers
1870 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
all 28 comments
sorted by: hot top controversial new old
[–] [email protected] 22 points 1 year ago (2 children)

Who the hell would call python beautiful has never seen python code in the wild

[–] [email protected] 7 points 1 year ago

Too true, python can be beautiful and succinct or like a huge plate of spaghetti cut up with scissors

[–] [email protected] 14 points 1 year ago (1 children)

Once you get used to the Rust syntax, it actually makes the code look cleaner.

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

Ans you also learn to format it properly.

Generally any new santax looks ugly. Then when you understand why it is written like it is it starts looking good.

[–] anti_antidote 8 points 1 year ago

learn to ~~format it properly~~ stop trying to correct rustfmt

FTFY

[–] [email protected] 11 points 1 year ago (1 children)

One big reason Nim never really caught on is because we've got lots of fast-ish languages with garbage collection (like Go, which sucks a lot of oxygen away from Nim IMO). Rust introduced a new concept to the mainstream that lets you program safely without a runtime hit for garbage collection.

[–] [email protected] 4 points 1 year ago (1 children)

Ada would like a word with you ;)

[–] [email protected] 3 points 1 year ago

To my knowledge, Ada doesn't have an equivalent to Rust's borrow checker. I also think I covered that base by specifying "mainstream" 😀

[–] marlowe221 3 points 1 year ago

You forgot JavaScript... but I'm not sure there's an icon/graphic for a racoon on meth...

[–] [email protected] 2 points 1 year ago

you forgot zig