You are not logged in. Login Now
 0-19   19   20-28        
 
Author Message
1 new of 28 responses total.
remmers
response 19 of 28: Mark Unseen   Mar 4 14:31 UTC 2009

What's your position on global variables, of which your last example
appears to have three instances?

In general I like the guarded style of writing conditionals, as
exemplified by your second and third examples.  Makes for clean,
readable code.  Dijkstra's work on the logic of programming enlightened
me on that one.
 0-19   19   20-28        
Response Not Possible: You are Not Logged In
 

- Backtalk version 1.3.30 - Copyright 1996-2006, Jan Wolter and Steve Weiss