JavaScript Inheritance and Object Programming
- Indbinding:
- Paperback
- Sideantal:
- 154
- Udgivet:
- 1. juli 2013
- Størrelse:
- 152x229x8 mm.
- Vægt:
- 213 g.
- 2-3 uger.
- 23. januar 2025
På lager
Normalpris
Abonnementspris
- Rabat på køb af fysiske bøger
- 1 valgfrit digitalt ugeblad
- 20 timers lytning og læsning
- Adgang til 70.000+ titler
- Ingen binding
Abonnementet koster 75 kr./md.
Ingen binding og kan opsiges når som helst.
- 1 valgfrit digitalt ugeblad
- 20 timers lytning og læsning
- Adgang til 70.000+ titler
- Ingen binding
Abonnementet koster 75 kr./md.
Ingen binding og kan opsiges når som helst.
Beskrivelse af JavaScript Inheritance and Object Programming
This book explains inheritance, both classical and prototypal, and shows how it can be implemented in JavaScript. It also shows how object programming (OP) opens a new world of design possibilities that go far past inheritance. Classical OOP is only a subset of full OP. This book will help the intermediate JavaScript programmer learn to use both types of inheritance. For classical inheritance, it is accompanied by a substantial online system (a windowing UI library) that shows classical inheritance at its best. The same system shows how OP "capabilities" can elminate much of the need for inheritance. For experienced JavaScript programmers, this book shows why most of the old views of JavaScript's inheritance are wrong. JavaScript classes inherit from JavaScript's prototypes, a fact that makes JavaScript's prototypes, when used correctly, functional equivalents to C++ classes (not to prototypes in true prototypal languages, like Self). JavaScript's object programming (not inheritance) is what separates it from classical OOP languages like C++ and Java. Most important, basing inheritance on JavaScript's prototypal chain is possible, but is not the best choice for prototypal inheritance or classical inheritance.
Brugerbedømmelser af JavaScript Inheritance and Object Programming
Giv din bedømmelse
For at bedømme denne bog, skal du være logget ind.Andre købte også..
Find lignende bøger
Bogen JavaScript Inheritance and Object Programming findes i følgende kategorier:
© 2024 Pling BØGER Registered company number: DK43351621