[Prototype-core] Re: Inheritance: your thoughts?

2007-06-25 Thread Adam McCrea
I'm getting more and more convinced that extra magic such as classMethods and aliasMethods are unnecessary. You guys are making some great points. Keeping it simple is best. +1 for sup() ... very low risk of naming conflict, and no ugly symbol (I won't go a far as saying bad design, but it

[Prototype-core] Re: Inheritance: your thoughts?

2007-06-24 Thread Adam McCrea
This is good stuff! I think the syntax is just about perfect, and even though it doesn't involve inheritance, I *love* that I'll be able to pass a hash of methods directly to Class.create() (or Class.extend()). I'm perfectly happy using this.parent() since super is reserved. I can't think of

[Prototype-core] Re: $ function

2007-06-18 Thread Adam McCrea
be an addition of unnecessary code, IMHO. On 6/18/07, Adam McCrea [EMAIL PROTECTED] wrote: So sorry to beat this dead horse, but I just want to weigh in my thoughts on this before it gets shot down. I agree that $ should only be a light wrapper around getElementById, but unfortunately getElementById

[Prototype-core] Re: $ function

2007-06-17 Thread Adam McCrea
Oh, if only we all had the luxury to change our sources. ;-) On 6/17/07, Mislav Marohnić [EMAIL PROTECTED] wrote: On 6/17/07, Andrew Dupont [EMAIL PROTECTED] wrote: return $(document.body).down('*[id=foo]'); Nice. But there is an alternative that Tobie suggested: not fixing the issue.