FGPythonSys: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Line 18: Line 18:
-->
-->
}}
}}
{{Main article|Modernizing FlightGear Scripting}}


The point of FGPythonSys is simply implementing something for fun - pretty much the same reason that most things in open source are done.  I find that justifying its existence is a little pointless.  Anyway, one interesting thing that could be designed would be a set of aircraft base classes in FGData implementing some basic functionality/instruments/systems, etc.  Then the aircraft can use OO (object oriented) inheritance to expand on the base class in an aircraft specific way.  Of course this could be done in Nasal, but Python's OO design is far more advanced, especially with GC (garbage collection).  Not that such arguments are relevant ;)
The point of FGPythonSys is simply implementing something for fun - pretty much the same reason that most things in open source are done.  I find that justifying its existence is a little pointless.  Anyway, one interesting thing that could be designed would be a set of aircraft base classes in FGData implementing some basic functionality/instruments/systems, etc.  Then the aircraft can use OO (object oriented) inheritance to expand on the base class in an aircraft specific way.  Of course this could be done in Nasal, but Python's OO design is far more advanced, especially with GC (garbage collection).  Not that such arguments are relevant ;)

Navigation menu