this post was submitted on 29 Aug 2023
30 points (72.1% liked)
Programmer Humor
32361 readers
261 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
fuck ts, marry go, kill rust (no language should have magic returns...and its pretty close to unreadable)
I wish implicit returns could be turned into an error in the configs of a project. It was impopular at the time and probably still is outside of Rust, it permeated through every control structure because of how the language is designed, but the worst part is how unnecessary it was
It would've cost nothing not to do it
It would've made no one upset
Now Rust is the only language to do what it does - and it has this shit in it