Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Application based on Prototypical inheritance in real life projects

Class-based inheritance shows its usefulness in creating big programming systems, especially GUI systems.

How can be applied Prototypical-based inheritance in real life applications? How we should build system instead of creating classes hierarchies?

Are here exist any programming patterns for real prototypical based OOP as exists for class-based OOP?

like image 452
nahab Avatar asked May 14 '11 16:05

nahab


1 Answers

nahab: Are here exist any programming patterns for real prototypical based OOP as exists for class-based OOP ?

This question should direct you to some good resources on practical Javascript Design Patterns.

nahab: How can be applied Prototypical-based inheritance in real life applications? How we should build system instead of creating classes hierarchies?

See this list of Lua users (another prototype-based language), taking note of its use in Adobe Lightroom.

like image 200
Keldon Alleyne Avatar answered Oct 17 '22 04:10

Keldon Alleyne