|
You are here |
beej.us | ||
| | | | |
gameprogrammingpatterns.com
|
|
| | | | | [AI summary] This chapter explores the use of prototypes and delegation in data modeling, particularly in game development. It discusses how traditional object-oriented approaches, such as class hierarchies and inheritance, can be compared to JavaScript's prototype-based model. The chapter also highlights the benefits of using delegation for reusing data, such as reducing duplication and improving maintainability. It provides examples of how prototypes can be used to create a more efficient and flexible data model for game entities, such as goblins and weapons. | |
| | | | |
www.tapper-ware.net
|
|
| | | | | [AI summary] An educational guide explaining the fundamental concepts of object-oriented programming in JavaScript, covering prototypes, constructors, inheritance, and dynamic typing differences from traditional class-based languages. | |
| | | | |
manuel.kiessling.net
|
|
| | | | | Let's talk about object-orientation and inheritance in JavaScript. The good news is that it's actually quite simple, but the bad news is that it works completely different than object-orientation in languages like C++, Java, Ruby, Python or PHP, making it not-quite-so simple to understand. But fear not, we are going to take it step by step. | |
| | | | |
sriku.org
|
|
| | | |||