Changes between Version 15 and Version 16 of GraphicsAPI


Ignore:
Timestamp:
Nov 12, 2014, 3:13:49 PM (11 years ago)
Author:
Tom Goddard
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GraphicsAPI

    v15 v16  
    2525== Complexity ==
    2626
    27 The public API classes above have a total of about 170 methods and there are about 110 private methods and functions.  I didn't make a distinction between private and public methods so maybe many of those 170 methods of public classes are in fact private.  The public classes also have many attributes (maybe 50 total) that are public in the current Hydra design.  So this graphics module is pretty complex (3400 lines of Python, 280 lines of OpenGL shader code).
     27The public API classes above have a total of about 120 public methods and attributes and about 170 private methods and attributes.
     28So this graphics module is pretty complex (3400 lines of Python, 280 lines of OpenGL shader code).
    2829
    29 A first step to see how much complexity there is in the public interfaces is to mark all the private methods with leading underscores.
    30 
    31 To get a uniform style some decision should be made about when public class attributes (or properties) are used and when methods are used.  It is a mish mash in Hydra.
     30Some decision should be made about when public class attributes (or properties) are used and when methods are used.  It is a mish mash in Hydra.
    3231
    3332 == Dependencies ==