|
You are here |
mathiasbynens.be | ||
| | | | |
v8.dev
|
|
| | | | | Personal website of Benedikt Meurer, JavaScript Engine Hacker and Programming Language Enthusiast. | |
| | | | |
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. | |
| | | | |
benediktmeurer.de
|
|
| | | | | Personal website of Benedikt Meurer, JavaScript Engine Hacker and Programming Language Enthusiast. | |
| | | | |
alexanderell.is
|
|
| | | |||