r/programming • • Nov 28 '15

Coding is boring, unless…

https://blog.enki.com/coding-is-boring-unless-4e496720d664
671 Upvotes

390 comments sorted by

View all comments

Show parent comments

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 stupid if statement.

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