S
Scott M.
This is the "can of worms" I anticipated:
You are entitled to you opinion, I'm trying to answer the OP.
IMHO it doesn't seem that complex to use an object method instead of a
function. In fact, it seems more intuitive. String objects will have
string methods, math objects will have math methods, numeric objects with
have numeric methods, data objects will have date methods AND the
intellisense will only show those methods that are applicable to that
particular object. If I use the old function approach, I open the door to
type mismatches and I have to remember the names of all those functions (no
intellisense).
Ok, maybe (or apparently) you don't, but those interested in performance
might.
You are entitled to you opinion, I'm trying to answer the OP.
Reducing the "complexity" of the code for common tasks.
IMHO it doesn't seem that complex to use an object method instead of a
function. In fact, it seems more intuitive. String objects will have
string methods, math objects will have math methods, numeric objects with
have numeric methods, data objects will have date methods AND the
intellisense will only show those methods that are applicable to that
particular object. If I use the old function approach, I open the door to
type mismatches and I have to remember the names of all those functions (no
intellisense).
Who cares? That's some ns of processing.
Ok, maybe (or apparently) you don't, but those interested in performance
might.