On 7/14/03 11:56 PM, Iain Truskett wrote: > My quibble; the name. I'm not a huge fan of ::Simple and ::Lite. > Unfortunately, I can't think of a nice alternate for it.
::Basic, maybe? Or ::Default, if we want to be boring about it. >> Which leads to my problem, there appears to be no simple way to get >> the date order to differentiate m/d/y from d/m/y. > > If "Simple" is to be simple, I'm not sure it can really handle such > things. It *has* to, because that's the way tons of user will enter dates. You absolutely can't leave that format out and still be useful for parsing dates entered by people. Ignoring method naming (see earlier message), the programming task is simple, IMO: just make it a setting. You can even have a third setting for "don't allow this format at all, in either order" for people who want to be paranoid about it. But I have a ton of web forms that user just expect to be able to enter "1/31/2002 5 p.m." into, and have it work. It Can Be Done! > The idea of "Simple" modules is to have as little of an > interface as possible. Inner complexity and outer simplicity. IMO, the idea is to be simple enough, but not so simple that it becomes useless for one of its stated (by me, natch ;) purposes. -John
