Skip to content

Function naming consistency #78

@matatk

Description

@matatk

Whilst many objects in AudioChart are private, as in not public API, they do talk to each other. The convention of using _name() for private functions should be used consistently, in order to denote functions of an object that we don't expect anyone else to need to call. They should also not show up in tests (ideally—there are some scoping issues currently that may prevent this [#37]).

Some examples:

  • Player samplingInfo should be _samplingInfo

It would also be good to be able to quickly check whether objects are calling underscore functions in other objects.

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions