I see the benefit of namespacing, e.g. if I have 3 functions I can create an object called, for example, Project and then place the methods within it and called Project.method_name to access them.
Should I do the same for variables within such functions or these already being namespaced by the fact they are within the method?
Aucun commentaire:
Enregistrer un commentaire