Dec 4, 2018

Various approached to problem fixing

I worked with many programmers in my life. I saw two types of solutions for the same problem:

  1. Using X hours and writing 300 lines of code without any comments and zero maintainability
  2. Using 3*X hours and writing 50 lines of self-explaining, fully maintainable code
I always prefer the second approach. It costs more at development time but it always pays back in the long term and have nearly zero costs after deployment. But this approach is very rare unfortunately.