Comment on How to Write Unmaintainable Code – NamingComments−billforsternz11yAlso; Always name binary variables to avoid hinting to the maintenance programmer which way round they work. Good: result, status, flag. Bad: okay, error, valid.
Comments
Also; Always name binary variables to avoid hinting to the maintenance programmer which way round they work. Good: result, status, flag. Bad: okay, error, valid.