Explore >> Select a destination


You are here

beej.us
| | www.tapper-ware.net
2.1 parsecs away

Travel
| | [AI summary] The article explores the fundamentals of object-oriented programming (OOP) in JavaScript, emphasizing its differences from traditional class-based languages. It explains that JavaScript lacks real classes and instead relies on prototypes for inheritance and object creation. The article discusses key concepts such as constructors, prototypes, dynamic behavior, and how to emulate class-like features using JavaScript's prototype chain and functions. It also touches on method overloading, private attributes, and the use of `this` and `call/apply/bind` for scope management.
| | gameprogrammingpatterns.com
3.0 parsecs away

Travel
| | [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.
| | manuel.kiessling.net
2.9 parsecs away

Travel
| | 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.
| | rog3rsm1th.github.io
33.6 parsecs away

Travel
| Because why not ?