3 ms·
A LOT of coding style, abstraction style, function vs inline is just preferences. This is what makes code reviews hard. Both the author and reviewer can easily
by nine_zeros 5y ago
A LOT of coding style, abstraction style, function vs inline is just preferences. This is what makes code reviews hard. Both the author and reviewer can easily fall into the trap of trying to "correct" the other person - without realizing that they are merely forcing preferences on the other.
That said, it is ok to write down some preferences as a team/org standard that everyone can follow.
Just don't make the job a lawyers attempt at software engineering.