update conventions

This commit is contained in:
petrucci4prez 2017-07-16 22:03:35 -04:00
parent d64b57fc3b
commit adf16750cb
1 changed files with 2 additions and 0 deletions

View File

@ -42,6 +42,8 @@ Var names:
- upval to local: prefix with _ - upval to local: prefix with _
- global to local: prefix with __ - global to local: prefix with __
- replace . with _ if callng from table - replace . with _ if callng from table
- the only reason to do either of these is for performance, therefore
no need to localize variables that are only used during init
- global: preceed with g_ - global: preceed with g_
- Temporal Scope - Temporal Scope
- init: only relevent to startup (nil'ed before first rendering loop) - init: only relevent to startup (nil'ed before first rendering loop)