Hi,

* Yon Uriarte -- Wednesday 26 November 2008:
> this is a patch to speed up startup times and some other
> misc things. 

Thanks for taking care of that. Startup time is really a
problem, made worse by the fact that one has to restart
fgfs to use another aircraft.

I'll leave commenting on the nasal, runway, and osg changes
to the respective maintainers and focus on one thing:

  +++ misc/strutils.cxx 24 Nov 2008 17:13:29 -0000
  [...]
          /**
  +        * Avoid new/delete/cpconstructor clusterfsck
  +        */
  +       int
  +               split_whitespace_aptdat( const string& str, int maxsplit, 
vector<string>& res )
  [...]
  +       split_aptdat( const string& str, const char* sep, int maxsplit, 
vector<string>& res )


This is IMHO not acceptable!

1) If these functions are meant to be better than the
   existing split()/split_whitespace(), then they have to
   replace them. If they are different and customized for
   dealing with Robin PEEL's apt.dat file (as the name
   implies), then they have no place in SimGear. This
   is a set of generic libraries, and not (supposed to
   be) tied to FlightGear, let alone to Robin's DB.

2) The function head focuses on what the function
   doesn't do (avoids), rather than on what it does. If
   you think split()/split_whitespaces() are "fscking"
   something up, then please explain why you think they
   should keep doing that.

3) We value the coolness factor of f-words rather low,
   even when they are disguised as acronyms for "file
   system check". Hey, even the use of "WTF" is prohibited
   to my disappointment. (Whoops. :-)


BTW: you introduced tabs in files that are space-indented,
   and even in a way that only works with 4-position tabs,
   rather than the standard: 8 positions.

m.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to