News for hackers. Stuff that matters.
Re:Avoid Else, Return Early (2013) by Sohcahtoa82 on Monday March 26, 2018 @02:38PM (#16681292)
I remember teaching a guy about YAGNI - You Ain't Gonna Need It.

He would write helper functions that he thought would be useful before writing actual code and often ended up wasting time. Half the functions he wrote, he never actually used, but he'd still spend time writing them and unit tests for them.

Re:Avoid Else, Return Early (2013) by collyw on Tuesday March 27, 2018 @04:11AM (#16686354)
Its interesting that University puts an emphasis on re usability, when in reality it often makes code a lot more difficult to understand.