"Niklas Laxström" <niklas.laxstrom(a)gmail.com> wrote in message
news:k2l501f5b5d1004011239ja616a33cjb60ac8eafbd5f442@mail.gmail.com...
If we just replace ::key() with ::format() and tack options somewhere
in the params, we just have new set of wfMsg* functions, just with
better names. Is that what we want? That also means we can't do any
cool stuff because there wont by any Message objects. With objects
functions can see that they are getting a message instead of just any
random string. There is also many places in the code where messages
are passed to functions. We could pass Message objects there instead
of array( 'key', 'param', 'param' ), which is quite inflexible.
I think the existence of a Message object that can be instantiated and
passed around, is a very important benefit. As you say, if we go down the
other route, we just end up with the wfMsg functions in a different
namespace.
--HM