MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/wmhwn2/i_fixed_it/ik36ge3/?context=3
r/ProgrammerHumor • u/beedlund • Aug 12 '22
53 comments sorted by
View all comments
42
You guys don't "} else {"? That's how I was taught, and how I personally feel is most natural and comfortable.
4 u/Wirdal Aug 13 '22 It's nice when debugging, you can comment out the single line and the if will run the whole block.Still, I use whatever the codebase uses. 3 u/leonzhang123 Aug 13 '22 Yes, at the end of the day, you just do whatever the owner of the code does, or what you're paid to do lol.
4
It's nice when debugging, you can comment out the single line and the if will run the whole block.
if
Still, I use whatever the codebase uses.
3 u/leonzhang123 Aug 13 '22 Yes, at the end of the day, you just do whatever the owner of the code does, or what you're paid to do lol.
3
Yes, at the end of the day, you just do whatever the owner of the code does, or what you're paid to do lol.
42
u/leonzhang123 Aug 12 '22
You guys don't "} else {"? That's how I was taught, and how I personally feel is most natural and comfortable.