募捐 9月15日2024 – 10月1日2024 关于筹款

JavaScript Object Programming

JavaScript Object Programming

Martin Rinehart
你有多喜欢这本书?
下载文件的质量如何?
下载该书,以评价其质量
下载文件的质量如何?
This brief book explains the advantages of the object model, inheritance, both classical and prototypical, and shows how these concepts can be implemented in JavaScript. It also shows how object programming (OP) opens a new world of design possibilities that go far beyond inheritance. 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 eliminate much of the need for inheritance. For experienced JavaScript programmers, this book shows why most of the old views of JavaScript's inheritance have not done it justice. JavaScript classes inherit from JavaScript's prototypes, a fact that makes JavaScript's prototypes, when used correctly, functional equivalents to C++ classes. 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.
年:
2015
出版社:
Apress
语言:
english
页:
132
ISBN 10:
1484217861
ISBN 13:
9781484217863
文件:
PDF, 1.64 MB
IPFS:
CID , CID Blake2b
english, 2015
因版权方投诉,本书无法下载

Beware of he who would deny you access to information, for in his heart he dreams himself your master

Pravin Lal

关键词