Tag Archives: OOP

Nice introductory article on why Golang is not OOP

It is a copy of this article — https://rakyll.org/typesystem/ It is real struggle to work with a new language, especially if the type doesn’t resemble what you have previously seen. I have been there with Go and lost my interest in the language when it first came out due to the reason I was pretending …

Read more

Наследование в Javascript

Рекомендация ECMAScript5 Минус — вызывается конструктор родителя раньше времени. https://jsbin.com/zoxude/1/edit?js,output

Как typescript выводит классы для es5

https://jsbin.com/zowahi/edit?js http://www.typescriptlang.org/play/

Основы ООП на Javascript

Объект представляет собой экземпляр класса. Javascript — это объектно-ориентированный язык, но в нём нет классов, а вместо наследования на основе классов используется наследование на основе прототипов.