Results 1 to 4 of 4
Thread: Prototype VS Inheritance (Basic)
Jul 27, 2013, 02:58 #1
- Join Date
- Jul 2006
- 3 Post(s)
- 0 Thread(s)
Prototype VS Inheritance (Basic)
I'm a little confused with these two.
Okay here is my understanding.
Prototype - extend an object, just like in php you extend a class.
Inheritance - reuse existing codes, by copying or by reference.
Sometimes I'm thinking they are just the same.
Can someone give more advice.
Thanks in advance.Quality codes are optimized and tested...
Click here for inspiration..