3 ms·
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
by Sohcahtoa82 9y ago
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.
- collyw 9y agoIts interesting that University puts an emphasis on re usability, when in reality it often makes code a lot more difficult to understand.