Changes between Version 3 and Version 4 of Documentation


Ignore:
Timestamp:
04/06/11 10:44:46 (3 years ago)
Author:
marko
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Documentation

    v3 v4  
    1717}}} 
    1818 
    19 == Underscores vs. mixedCase vs. CamelCase == 
    20  
    21 The names of attributes and methods in C++ classes have been modified to underscore form (Value.var_type instead of Value.varType). Class names are in CamelCase (e.g. BayesClassifier). Names of functions within the module, e.g. orange.getClassDistributions are still in mixedCase. 
    22  
    23 Old names still work, except for referencing of unbound methods. E.g.  
    24 {{{ 
    25 v = orange.EnumVariable(); v.getExisting() 
    26 }}} 
    27 is OK, but  
    28 {{{ 
    29 orange.EnumVariable.getExisting() 
    30 }}} 
    31 is not. Former is uncommon, but needs to be found and modified manually. 
    32  
    33 For refactoring, mapping of names can be found in source/orange/aliases.txt, source/_underscored and source/_underscored_manual.