Javascript Distinguish between Composition vs. Inheritance -



Javascript Distinguish between Composition vs. Inheritance -

in classfull-style (c++) or in traditional design patterns (gofpatterns) clear, difference between composition , inheritance , how implemented , when utilize (advantages/disadvantages).

but how distingish between composition or "normal" inheritance in js? or used same term?

is prototype inheritance illustration defined composition or inheritance?

what guys thinking?

as first learned java, tempted seek same thing javascript. wrong idea. javascript allows oriented-object programming. way oop done javascript different c++ or java: way utilize allows oop, not language itself.

i recommend these links larn how javascript can used:

http://javascriptissexy.com/how-to-learn-javascript-properly/

http://javascriptissexy.com/learn-intermediate-and-advanced-javascript/

javascript inheritance prototype composition

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -