by lmm · 14y ago · 0 comments
What are the advantages suggested here? Automate parts of your code? Don't use string manipulation on source to do that, that's evil. Measure SLOC? Who cares. Create a code analysis engine to keep everything matching the spec? Circular reasoning.
The underlying point is valid - rather than trying to document what good code is, the best way for senior developers to get junior developers to write good code is to write good code themselves, and particularly to refactor existing code as they work on it. (Don't try and do it all in one go, just make sure that each file you change you leave a little better than it was). But what constitutes good code is very hard to capture in a standards document - and given that no-one will read or follow said standards document, why bother?