4 ms·
I spend more time thinking about the approach to the problem then churning out code. Take this example http://thedailywtf.com/Articles/Maximum-Pad.aspx http://
by kschua 16y ago
I spend more time thinking about the approach to the problem then churning out code.
Take this example http://thedailywtf.com/Articles/Maximum-Pad.aspx http://thedailywtf.com/Articles/Maximum-Pad.aspx
Either churning out over 300 lines of code or using a "for loop" solves the problem, but which approach is better? Sitting down to think about the for-loop or copy-paste-replace the code?