On 2/2/07, Beau Hartshorne <[EMAIL PROTECTED]> wrote: > On 26-Jan-07, at 5:04 PM, Arnar Birgisson wrote: > > > Why two different classes? Why not just use a point to represent size? > > > > That way, point could have useful prototype methods for some > > calculations. > > I don't know any definitions of the word "point" that imply a > dimension. Box might be the right word, but do you have any other ideas?
I think we might be talking about slightly different things. You mean box to keep top, left, width/right and height/bottom - right? I'm proposing making a general "vector" datastructure and use that to represent both locations and dimensions. > Anyway, if you create a ticket and submit a patch, this will make it > into MochiKit. Ok, but note that what I have in mind breaks backwards compatibility. Arnar --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MochiKit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/mochikit?hl=en -~----------~----~----~----~------~----~------~--~---
