|
|
# Code Conventions
|
|
|
|
|
|
Functions and Classes inside the ITA-Toolbox should follow the following style guidelines:
|
|
|
|
|
|
* ita_your_new_function,
|
|
|
* itaYourNewClass.
|
|
|
|
|
|
* Function and method names should only consist of lowercase letters, words separated by underscores. Classes definitions should not contain separating characters between words, but instead start every word with a capital letter while remaining letters have to be lower case.
|
|
|
* Make sure that function, class and variable names are representative for their intended tasks and use cases.
|
|
|
* In order to generate a new function you can use the function `ita_newm` to create a template m-file containing guidelines for the documentation, input parsing and the function body. |