in reply to Re: No braces
in thread No braces
then someone will-undoubtedly screw up like this:
That point was *really* driven home in one of the first C++ programming classes I ever took at school. The professor made a big thing of making sure we *always* used braces even though you didn't have to. I can still picture him waving his hands at the front of the classroom "down the road, someone will want to add something and will forget to add braces. Tears of frustration will ensue because you can't figure out why the code broke."
Good advice methinks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: No braces
by demerphq (Chancellor) on Feb 11, 2004 at 19:28 UTC |