4 ms·
And I always prefer self-documenting code. Because no one bothers to write or update documentation
by bozho 15y ago
And I always prefer self-documenting code. Because no one bothers to write or update documentation
- floppydisk 15y agoI don't think the practice of self documenting code limits itself to Java. If I choose descriptive names for my files, functions, classes, variables, etc., I can still convey the meaning of individual blocks of code and the entire project regardless of language. Hopefully the people reading my code would be able to grok that a method called "openXMLConfigFile" exists to open the XML config file and all the code contained within does just that, hopefully.