in reply to Re: "Fields" for "Objects"
in thread "Fields" for "Objects"
Honestly, use of AUTOLOAD for this kind of stuff is just really a bad idea. You will outgrow this solution all too quickly, not to mention the fact that your code is broken once you introduce inheritance since you have no mechanism to inherit the fields. Sure that problem is solve-able but not without a bunch of tedious plumbing as well. It should also be noted that AUTOLOAD introduces something like a 400% performance penalty over normal method calls (which only gets bigger the more complex your AUTOLOAD gets).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: "Fields" for "Objects"
by shmem (Chancellor) on Jun 11, 2009 at 17:41 UTC | |
by stvn (Monsignor) on Jun 12, 2009 at 00:39 UTC | |
by shmem (Chancellor) on Jun 12, 2009 at 01:07 UTC | |
|
Re^3: "Fields" for "Objects"
by dekimsey (Sexton) on Jun 11, 2009 at 02:26 UTC |