4/8/17

The Less Code, The Better.

Introduction.

It is a good programming practice to solve problems using as little of code as possible.

With less code lines, program is more readable - there are less errors, code changes & debugging are faster.

There is research that proves that with less code lines there are less errors.

Number of code lines is one of metrics, by which code's quality can be measured.


One should not add extra code for future features in advance.

With time customer requirements might change, and this extra code only obscures project's clarity.