Changes between Version 7 and Version 8 of Orange25


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

Legend:

Unmodified
Added
Removed
Modified
  • Orange25

    v7 v8  
    2424 
    2525  Orange.classification.rules.CN2Learner() 
     26 
     27==== C++ underscores vs. camelCase ==== 
     28 
     29The 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. 
     30 
     31Old names still work, except for referencing of unbound methods. E.g.  
     32{{{ 
     33v = orange.EnumVariable(); v.getExisting() 
     34}}} 
     35is OK, but  
     36{{{ 
     37orange.EnumVariable.getExisting() 
     38}}} 
     39is not. Former is uncommon, but needs to be found and modified manually. 
     40 
     41For refactoring, mapping of names can be found in source/orange/aliases.txt, source/_underscored and source/_underscored_manual. 
    2642 
    2743=== Things to check/fix later ===