Re: [Flightgear-devel] [Flightgear-cvslogs] CVS: data/Aircraft/NTPS/Nasal system.nas, NONE, 1.1

2006-09-18 Thread Melchior FRANZ
* Curtis L. Olson -- 9/18/2006 5:12 PM:
  for(i=0; isize(ai_craft);i=i+1){
  if(getprop(ai/models/aircraft[ ~ i ~ ]/radar/in-range) != 0){
  setprop(/instrumentation/radar/ai[ ~ i ~ ]/active,1);

How is this coding style called? Unstructured programming?
Is that an attempt to avoid the discussion about whether tab or
space indentation is preferable? Or just a joke that I don't get?

m.  :-}


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] [Flightgear-cvslogs] CVS: data/Aircraft/NTPS/Nasal system.nas, NONE, 1.1

2006-09-18 Thread Maik Justus
Hi,

as I was studying I had an prof (in numerical methods in the physics), 
who was programming in justification. No indentation and (!) a new line 
about every 80 characters, independent from the code. His argument: More 
code on the screen and therefore easier to understand... He was the kind 
of professor, who did not recognize a burning lab or forgot his shoes on 
a conference...

Maik

Curtis L. Olson schrieb:
 User contributed code.  Syd, FYI, we prefer a certain consistency with 
 indentation.  :-)  It makes the code more readable to everyone else (and 
 probably yourself too.)

 Curt.

   


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel