Why the if( isValid == true )?

Who is online?  0 guests and 1 members
Home  »  Blogs  »  RobertHarris  »  Why the if( isValid == true )?
 
0
/5
Avg: 0/5: (0 votes)

Comments (4)

briankmcdonald

Smile I like it. I would have to say the verbose coding is due to readability. Sure... a mid or senior level coder can see the obvious, but what happens when the only coder left standing is one with little experience? This increased readability increases maintainability, which in most cases just makes sense. Good post Rob!

10/25/2010
 · 
 
by
RobertHarris
RobertHarris said:

Aahhhh, good point Brian.  But, if the only developer left standing has little experience, then the company that employs the inexperienced has bigger issues.  Also should a developer with little experience be set free in developing a piece of software without the guidance of someone with more experience?  That should never take place.  Secondly, code reviews for an inexperienced developer should be done regularly so that he or she can improve their development style, personality and skillsets.  Also, in a development environment there should be some standards set in place for the inexperienced developer to refer to as a guide...i.e. variable naming convention, casing, etc.  So, if all of those things are in place then the need for verbosity should be alleviated.

10/26/2010
 · 
 
by
RobertHarris
RobertHarris said:

Also, not to mention the understanding of data types are essential to development.  It's like knowing that a screwdriver's purpose is to assist the user in turning a screw in or out.  Not to be used as a chisel.

10/26/2010
 · 
 
by
briankmcdonald

I concur on all points.

10/26/2010
 · 
 
by
Blogs RSS Feed

RobertHarris's latest blog posts

Blogs RSS Feed

Latest community blog posts