this post was submitted on 16 Jan 2024
547 points (98.8% liked)
Programmer Humor
19522 readers
215 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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Scroll on down to the first common example there champ.
If you really think that's being "too clever" I don't know what to tell you... A big reason I think that argument is bullshit is because writing simple code isn't a goal (what does that even mean?) - readability is a big one, and breaking up every part of every conditional would just lead to unreadable spaghetti
Also, take a look at the languages being discussed. This is a long settled question - every language I've ever used has this.
Including VB, I found out it uses AndAlso...so gross
several languages that are still in use have eager evaluation.
I'm a dumb programmer. The more I need to keep implicit behaviour in mind, the higher the probability I'm writing bugs. Short circuit evaluation is an optimization technique IMO and shouldn't be relied upon for control flow.
The aggressive tone you're using is completely unnecessary and immature, so I'll refrain from responding any further. Have a nice day.
You're the one who started this by criticizing my knowledge and my coding practices, in response to me sharing one very specific example of why I believe VB is a bad language
I held off because I thought you must've misread it and we'd laugh and maybe talk about language design... But no, you confirmed you just came at me with a bad take extremely dismissively
If you want respect, try showing it.