Re: [WSG] Javascript classical inheritence [was: JavaScript clarification please]

2008-10-29 Thread Keryx Web
Mathew Robertson skrev: All this talk over JavaScript not supporting classes, is incorrect. I put together a little demo of classical "class-based" inheritence. The only real limitation is that you can't do "protected members" and "friends" and the syntax might be considered to be a little clu

Re: [WSG] Javascript classical inheritence

2008-10-27 Thread Mathew Robertson
> > http://members.optusnet.com.au/~mathew/js/ > > > > I hope this helps clear things up a bit. > > That's support for classes in the same way C has support for classes > though - you can design them on top of the language, but you don't get > support for it for ordinary language elements or for

Re: [WSG] Javascript classical inheritence [was: JavaScript clarification please]

2008-10-27 Thread liorean
2008/10/28 Mathew Robertson <[EMAIL PROTECTED]>: > All this talk over JavaScript not supporting classes, is incorrect. I put > together a little demo of classical "class-based" inheritence. > > The only real limitation is that you can't do "protected members" and > "friends" and the syntax might

[WSG] Javascript classical inheritence [was: JavaScript clarification please]

2008-10-27 Thread Mathew Robertson
All this talk over JavaScript not supporting classes, is incorrect. I put together a little demo of classical "class-based" inheritence. The only real limitation is that you can't do "protected members" and "friends" and the syntax might be considered to be a little clunky. http://members.optu