Real world example of protypal inheritance?
I'm new to programming and currently teaching myself JS but I'm hitting an impasse when it comes to object inheritance. I can understand it in a simplified context but I'm struggling to see the real-world application of prototypal vs classical inheritance and when to use one over the other.
Can someone give me a simple but real world application of these concepts?
Submitted July 17, 2017 at 02:57PM by brodega
via reddit http://ift.tt/2t8VORO