Create objects upfront rather then populating after instantiating
Closed this issue · 0 comments
imbenjamin commented
Currently:
matcher = BaseMatcher()
matcher.doMatch = function (target as Dynamic) as Boolean
...
end function
Should change to:
matcher = BaseMatcher()
matcher.append({
doMatch: function (target as Dynamic) as Boolean
...
end function
})
To enforce better coding standards, etc