3 ms·
It might sound like a good idea to precisely describe how code should be written, until you realize it's inefficient and useless. Code coherence can be accompl
by shin_lao 13y ago
It might sound like a good idea to precisely describe how code should be written, until you realize it's inefficient and useless.
Code coherence can be accomplished with more relaxed rules if you delegate more responsibility to your engineers.
- adamnemecek 13y ago> Code coherence can be accomplished with more relaxed rules if you delegate more responsibility to your engineers. Please elaborate.
- shin_lao 13y agoI think consensus through code review is better as compilers and languages evolve. If you write rules for everything you spend your time checking for compliance and perhaps rewriting rules instead of relying on a more organic code quality assurance. You also want your engineers to think by themselves instead of hiding behind a rules book.
- cloudwalking 13y agoCode style doesn't dictate what your engineers build, it just makes their code easier to review and maintain. Code smells, foreign conventions, and inconsistency all make reviewing and editing code harder.
- skia 13y agoSome coding style guides amount to an obsessive compulsive disorder. They focus on trivialities, like an extra space between parameters or the placement of braces around blocks of code.