Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Any classes that are responsible for creating and destroying other classes should use JUCE's ScopedPointers or OwnedArrays to ensure that everything is cleaned up automatically. Classes that merely need to interact with other classes can use standard C++ pointers.
  • Method definitions, including empty methods, must not be present on header files on any class defined as PLUGIN_API. All the code for those methods must be placed in their respective .cpp files.
  • We haven't used exceptions anywhere in the code.
  • Class names should begin with a capital letter, object names should begin with a lowercase letter.
  • Names of all classes, objects, methods, and members should be in camelCase (no underscores, please...save it for Matlab).
  • However, names of constants should be written in ALL_CAPS, in which underscores are appropriate.
  • Names should be as descriptive as possible without being verbose (obviously there's no definitive rule for this).

...