Software Engineering discussion
Code Complete
>
Using Conditionals
date
newest »

message 1:
by
[deleted user]
(new)
Apr 13, 2011 07:12PM
This chapter has some interesting advice on if and case statements. One new one for me is to always code an 'else' if you have an 'if then', and even in the case where 'else' is empty, to still code it and add a comment that you considered the else and decided that it should be empty. It sounds like a good idea to me.
reply
|
flag
