I just added an article on the Suneido web site about a new add-on system.
I'm currently reading Clean Code (recommended) so I was pleased with the small methods in the add-on code. However, I was half way through writing the code before I realized I wasn't writing tests, let alone tests first. Oops.
When the methods get so small I start to resent all the lines with just curly braces and start to wonder if a Python indentation based style might not be better suited.
No comments:
Post a Comment