3 ms·
The visual honesty example is dishonest. It uses two indents for indenting the parameter list of the function, and two indents for indenting the body of the fu
by vkou 9y ago
The visual honesty example is dishonest.
It uses two indents for indenting the parameter list of the function, and two indents for indenting the body of the function.
Most indentation conventions suggest four space indentation for breaking up a list of parameters, and two space indentation for the body of a {}. In order to avoid the problem that the example criticizes.
- Ensorceled 9y agoMy reaction was similar - "Who formats code like that?" It's pretty easy to be better when starting from such a low bar.