MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/3umbm2/coding_is_boring_unless/cxgi77d
r/programming • u/evindor • Nov 28 '15
390 comments sorted by
View all comments
Show parent comments
1
I've taken to making it a game to figure out how to fix the bug in the least amount of lines. Best so far is adding } else { i++ after a particularly stupid if statement.
} else { i++
if
9 u/[deleted] Nov 29 '15 I prefer "remove as most lines as possible without changing functionality" game 2 u/Falmarri Nov 29 '15 Yeah. I love playing code golf in production code
9
I prefer "remove as most lines as possible without changing functionality" game
2
Yeah. I love playing code golf in production code
1
u/[deleted] Nov 29 '15
I've taken to making it a game to figure out how to fix the bug in the least amount of lines. Best so far is adding
} else { i++after a particularly stupidifstatement.