Nathan: I agree with you in principle, but Peter's already modifying the relevant classes (ATGTNode, etc). I suspect this will fit right in with little addtl effort. (as did my TemplateNumber patch). Seems appropriate to revisit the comparison and arithmetic operators in general, as long as we have a consensus on changes and good test cases.
> still, i'd like to see us focus first on the features that we know people > want. i'm afraid we might bite off more than we can chew. Geir says he'll be WILL ----- Original Message ----- From: "Nathan Bubna" <[EMAIL PROTECTED]> To: "Velocity Developers List" <[EMAIL PROTECTED]> Sent: Thursday, June 26, 2003 12:44 PM Subject: Re: Velocity Numerics [PATCH] > Peter Romianowski said: > ... > > Another point that has been discussed is the usage of dates for example > > whithin comparisons. The == operator already deals with objects since > > it calls the .equals() method for non-numbers. I would like to widen > > this up so that < > and == work with classes that implement the Comparable- > > interface. This way you can compare Dates (since java.util.Date implements > > the Comparable-interface) and any other object where the Programmer desided > > whether it should be comparable or not. Implementation could be a bit > tricky, > > but I think it's worth it. Will and all: What do you think? > > sounds really interesting. i haven't thought of that before, but at first > glance, that might be very cool. > > still, i'd like to see us focus first on the features that we know people > want. i'm afraid we might bite off more than we can chew. Geir says he'll be > a patch-horse at least until we get a new committer in there. let's not miss > this opportunity to get some of these "big" things (floats, maps, whitespace) > in by getting mired down in "little" ones. we have some energy and momentum > now, let's keep it focused. > > but that said, let's not forget this idea. > > Nathan Bubna > [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
