/
Namespaced Javascript functions are easily searchable.

Namespaced Javascript functions are easily searchable.

This is one of a number of wonderful things that happen which is what makes using prefixes in front of Javascript functions much better using other techniques like hiding generically named functions inside of object closures.

It makes it super easy to find stuff using a good text editor like Microsoft Visual Code.

i.e. setName is going to be hard to find with a global text search, but UTLsetName will be unique with our conventions.

 

Related content

Javascript Namespace Conventions
Javascript Namespace Conventions
More like this
Using name prefixes in Javascript code
Using name prefixes in Javascript code
More like this
Using Prefixed Name Spaces with Javascript
Using Prefixed Name Spaces with Javascript
More like this
Built in C++ namespaces make it hard to refactor code
Built in C++ namespaces make it hard to refactor code
More like this
Javascript Closure
Javascript Closure
More like this
Javascript Tracing
Javascript Tracing
More like this