Changes between Version 12 and Version 13 of Orange25


Ignore:
Timestamp:
04/12/11 11:50:17 (3 years ago)
Author:
marko
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Orange25

    v12 v13  
    1515[http://piratepad.net/dJQSmByjbs EtherPad page] 
    1616 
    17 == Conventions == 
     17== CamelCase to underscore_separated == 
    1818 
    19 Names of methods, functions, (object) attributes and keyword attributes of functions should all be underscore_separeted. Janez has modified the wrapper which allows access to C++ code with both names and Ales has written [wiki:Orange25/NameDeprecationDecorators name deprecation decorators] for Python code. 
     19Names of methods, functions, (object) attributes and keyword attributes of functions should all be underscore_separeted. Abbreviations should also be in lower case. For example, we should rename AUCWilcoxon to auc_wilcoxon (and not AUC_wilcoxon). 
    2020 
    21 As in Python (Miha has checked the sources code of standard modules), abbreviations should also be in lower case. For example, we should rename AUCWilcoxon to auc_wilcoxon (and not AUC_wilcoxon). 
    22  
    23 Classification methods (learners) are objects named with method followed by Learner: 
    24  
    25   Orange.classification.rules.CN2Learner() 
     21For now, all C++ code is accessible both with CamelCase and underscore separated. Python code should be converted with [wiki:Orange25/NameDeprecationDecorators name deprecation decorators] (see the page for an example). 
    2622 
    2723==== C++ underscores vs. camelCase ====