On 26/06/07, Mislav Marohnić <[EMAIL PROTECTED]> wrote: > On 6/26/07, Richard Quadling <[EMAIL PROTECTED]> wrote: > > > > The use of initialise / initialize for me is an issue purely from a > > spelling perspective - both are acceptable spellings but only 1 would > > actually be used. I would suggest 'construct' as the initialise > > method. > > We're keeping initialize because a) it's a Ruby convention, b) backwards > compatibility with existing classes.
That's fine. From an outsider, as long as I know WHY, then that's fine. > > Also, would there be any mechanism for an AUTOMATIC destruct > > mechanism? (An open Ajax connection should close when the user moves > > off page or something like that - yes I know userland code can deal > > with this via any number of mechanisms, but having it available as a > > destruct method which is called automatically during the onunload > > event would seem like a useful option). > > I doubt that we'll ever have something like that. Users who want this > behavior will have to explicitly define how and when do their objects get > destructed. Automatic destruct mechanism would be bloat to the inheritance > support code. I see. Thank you. -- ----- Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!" --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype: Core" 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/prototype-core?hl=en -~----------~----~----~----~------~----~------~--~---
