Skip to main content

Benx Shen's Library tagged oop   View Popular

21 Jun 08

Classical Inheritance in JavaScript

JavaScript is a class-free, object-oriented language, and as such, it uses prototypal inheritance instead of classical inheritance. This can be puzzling to programmers trained in conventional object-oriented languages like C++ and Java. JavaScript's prototypal inheritance has more expressive power than classical inheritance, as we will see presently.

www.crockford.com/...inheritance.html - Preview

javascript programming oop *精華* article

Private Members in JavaScript

JavaScript is the world's most misunderstood programming language. Some believe that it lacks the property of information hiding because objects cannot have private instance variables and methods. But this is a misunderstanding. JavaScript objects can have private members.

www.crockford.com/...private.html - Preview

javascript oop closure *精華*

16 Jun 07

無類語言的OOP(JavaScript描述)-FP-綜合技術 -JavaEye做最棒的軟件開發交流社區

  • 本文以 JavaScript 語言為例,介紹了無類面向對象語言中實現各種面向對象概念的方法。
1 - 5 of 5
Showing 20 items per page

Diigo is about better ways to research, share and collaborate on information. Learn more »

Join Diigo