So, in the work I've been doing with Oasis recently, especially optimizing and getting it cleaned up for open-source use, I keep noticing little themes and rules of thumb pop up repeatedly. This especially holds true for making the different modules modular and easy to update later on, but have also included things to just make building simple functions easier as I go.
If you find yourself using the same block of code across multiple functions, write a function for it.
If you're going to refer to a global (especially namespaced) variable more than once in a function, load it into a local variable.
Save useful code that other people wrote.
What are some coding rules of thumb you've found? (Admin included!)
the way she tells me I'm hers and she is mine
open hand or closed fist would be fine
blood as rare and sweet as cherry wine