rogueNoodle. I thought about globalization the function names. It works really well. The benefit is that the it get's to the function string faster. However, I felt the benefits of using an Array work out a little bit better. I'm not doing this to say golbal function vars are wrong. Just weighing in the difference so people who like both can compare for their needs. If you can add anything that I may miss please do so :)
Also I change my mind. Instead of an Array. Use Dictionary instead.
Global Function names
+ Function names are type safe
+ No require "" string ends
+ Short naming conventions allowed
- does not provide autocomplete(as far as I know)
- adds to the variable drop down list
~ Stronger notation for organization(if desired)
~ fantastic for smaller projects or fewer features
Object Function names
+ Function names are type safe
+ No required "" string ends
+ objective naming convention for organization
+ provides on function name auto-complete(ie "object.xxxx" )
+ Dictionary can provide it's own variable storage for runtime data
- does not allow for short naming convention
- functions are mixed with object properties and expressions
~ not bound to the event sheet
~ maybe more overhead for smaller projects than it's worth.
Looking at this. I wish I started my current project using these design guide. I was neck deep into current development before thinking of this.
Personally I would like an open Object that we can treat as a custom defined class. Then again the dictionary works really well except for cluttering up the expressions for the object.