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.
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.