K
K
Kostya Bodnya2014-07-11 10:12:18
JavaScript
Kostya Bodnya, 2014-07-11 10:12:18

How in JavaScript to stop worrying about classes and inheritance and completely switch your mind to prototypes?

Hello!
I am currently writing one interesting project on node.js. And I constantly stumble upon the fact that I'm trying to use the classic OOP model with inheritance and other class prejudices. I am writing some kind of crutches to imitate classism, etc.
But in my heart I understand that it is possible (and necessary) in a different way.
Tell me, please, what to read / watch / listen to finally break into these prototypes and not waste your time on nonsense?
Thank you!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
OlegTar, 2014-07-11
@q_styler

www.amazon.com/Object-Oriented-JavaScript-2nd-Stoy...
javascript.ru/tutorial/object
dklab.ru/chicken/nablas/39.html
dklab.ru/chicken/nablas/40.html

S
Sergey Melnikov, 2014-07-11
@mlnkv

use underscore.js
underscorejs.ru/#objects
you can also add backbone.js to the project

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question