On 03/12/10 17:57, Greg Ercolano wrote:

>> Missing space between "switch" and "(var)"... :)
>
>       Yes, caught that myself and fixed before I checked it in ;)
>       I noticed you have a special sentence just for that in the CMP.
>
>       (It's a weird programming tick I have when typing switch() and
>       esp. return(), but not with if or for.. not sure why)

Hmm, I guess I'm more the other way - I always get the space after 
switch, but seem to leave it out after if() and for().

And I never use the braces after return... (Well, unless the return 
value actually has to be evaluated, and maybe not even then...)

It makes it look too much like a function call I always think (which 
obviously it isn't) since it doesn't have any statements that depend on 
it the way that if(), for() and switch() all do.

That's all apropos of nothing BTW, not suggesting we change the CMP to 
suit the vagaries of my coding style!


_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to