michael-n-kaplan / ta-scripts

Some scripts for tele-arena, tintin++ based to start
4 stars 0 forks source link

Variable Clashes and scoping #2

Open michael-n-kaplan opened 10 years ago

michael-n-kaplan commented 10 years ago

All names should be prepended with : or something similar to make it easier to identify where variables and fncs come from

Classes should NOT be directly using vars defined in other classes without good reason. Either need a global state class (which is terrible), or access functions.

Note: having scoped named vars will help point out pain points