Originally Posted by AlleyKat
I like to store my data in build-in table, also I like to use my main storage as frame-type-table (events and etc..), and my storage must be available outside. What is pointless? Make a lot of global variables, tables and frames or use one extended table (build-in)?
|
Your method still creates a frame object in addition to the private table. Using multiple layers of metatables and trickery to make the private table identical to the frame is pointless and inefficient. Just use the frame, and don't use the private table. That doesn't create any more global variables, tables, or frames than your current convoluted method.