Octave style guide: Difference between revisions

Jump to navigation Jump to search
m
Line 123: Line 123:
=== Function names ===
=== Function names ===


For most public functions we are limited by Matlab compatibility.  Use
For most public functions we are limited by Matlab compatibility.  Use whatever name Matlab chose.
whatever name Matlab chose.


For functions that are not present in Matlab favor the use of underscores.
For functions that are not present in Matlab, favor the use of underscores.
For example, {{codeline|base64_decode}}, {{codeline|common_size}}, or
For example, {{codeline|base64_decode}}, {{codeline|common_size}}, or
{{codeline|compare_versions}}.  There are exceptions to this:
{{codeline|compare_versions}}.  There are exceptions to this:
1,072

edits

Navigation menu