JavaScript Object Programming

Автор: daromir от 31-08-2018, 11:07, Коментариев: 0

Категория: КНИГИ » ПРОГРАММИРОВАНИЕ

Автор: Martin Rinehart
Название: javascript Object Programming
Издательство: Apress
Год: 2015
ISBN: 9781484217863
Язык: English
Формат: pdf
Размер: 10 mb
Страниц: 109

The text 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 (not to prototypes in true prototypical 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.








Нашел ошибку? Есть жалоба? Жми!
Пожаловаться администрации
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.
Информация
Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.