this post was submitted on 01 Apr 2025
2 points (75.0% liked)

Programmer Humor

42680 readers
142 users here now

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

Rules:

founded 6 years ago
MODERATORS
 
all 11 comments
sorted by: hot top controversial new old
[–] laserm@lemmy.world 1 points 1 year ago

Time to rewrite the world in assembly

[–] Midnitte@beehaw.org 0 points 1 year ago* (last edited 1 year ago) (1 children)

Not sure I've ever heard of nasm

[–] zenforyen@feddit.org 0 points 1 year ago (1 children)

Python with type hints and mypy and ruff = <3

Large Python codebase without types = nightmare

[–] smiletolerantly@awful.systems 1 points 1 year ago

I'm too lazy to insert the "look what they need to mimic a fraction of our power" meme here, so.... Please imagine it instead.

I'm switching jobs in a couple of months, and I am SO glad to be leaving a (very well maintained!!) python codebase with type hints and mypy for a rust codebase.

It is just not the same.

[–] renegadespork@lemmy.jelliefrontier.net 0 points 1 year ago* (last edited 1 year ago) (1 children)

let comment: String = String::from(“lol”);
println!(“{}”, comment);

[–] Bogasse@lemmy.ml 1 points 1 year ago* (last edited 1 year ago)
println!("{comment}");

C'mon, it's 2025!

[–] Telorand@reddthat.com 0 points 1 year ago (1 children)

Fr, though, duck typing in Python is one of my biggest annoyances.

[–] PotatoesFall@discuss.tchncs.de 0 points 1 year ago (1 children)

I love duck typing! dynamic typing is my issue...

[–] HStone32@lemmy.world -1 points 1 year ago

Data types do matter, and someone's got to declare them at some point, or else your compiler won't know how to intepret them. It's just a question of who should be doing the declaring: you, or a parser algorithm? Personally, I don't like things being done for me.