-
Notifications
You must be signed in to change notification settings - Fork 1
Code organization and convention
A modular approach is attempted to get shorter files. Additional classes are built to reduce the size of objects.
PEP-8 limit of 80 characters is not considered.
Always start with a verb followed by nouns and additional information if needed. Names of instances must not be used, instead the descriptives names of the object should be used. -> GUI
or Application
for root window.
Change message of status -> set_
For widget creation -> create_
Prepare something -> setup_
or define_
Plot one or several curves or update a plot -> plot_
Tabbed panel in notebook -> _tab
Modification of curve out of Curve class -> _curve
Composition in classes links main GUI class to lower level classes. Master class of widget -> self.parent
Always with UPPER CASE.
Frame -> _frame
Button -> _btn
Checkbox -> _cbox
Radio button -> _radio