this post was submitted on 31 Jul 2025
331 points (98.0% liked)

Programmer Humor

26095 readers
1062 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
[–] billwashere@lemmy.world 1 points 1 month ago (1 children)

This is pretty cool. But my question is if the compiler knows it’s basically the same thing visually, why doesn’t it treat it the same way as far as syntax and just make them functionally equivalent;

[–] arrowMace@lemmy.world 1 points 3 weeks ago

Because then logically extending this you end up with JavaScript, where "1"==1 and it's super hard to reason about what will/should happen