On 7/19/06, Ryan Gahl <[EMAIL PROTECTED]> wrote:
Protoype is important if only for the ease with which it enables class based
OO programming in js. Yes, we all know... js is a prototyped based OO
language, but using a traditional class approach makes code re-use,
readability, and refactoring (read maintenance) so much easier. I'm guessing
the OP with the beef against proto is more into procedural style programming
(which is FINE, please don't everyone jump down my throat about that
comment... :-)


There are a lot cleaner ways to do OOP in JavaScript without all that
init function business

http://www.kevlindev.com/tutorials/javascript/inheritance/index.htm

Peter
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to