タグ

関連タグで絞り込む (0)

  • 関連タグはありません

タグの絞り込みを解除

JavaScriptとOOPとECMAScriptに関するefclのブックマーク (2)

  • OO Relationships

    In this small note we recap concepts of objects relationships in Object-Oriented programming. Recently Allen Wirfs-Brock raised an interesting topic for distinguishing and abstracting a concept of “an open set of objects that share a common interface and implementation”. A first possible definition that comes in mind can be a “type”, or a “class”. However, objects relationships in object-oriented

    efcl
    efcl 2016/01/26
    JavaScriptとオブジェクト指向プログラミングについて。 static/dynamic dispatch、prototypeベース、縦/横の継承、 class、mixin、traits、ダックタイピング、compositionなどについて
  • ECMAScript 6: new OOP features besides classes

    This blog post is outdated. Please read chapter “New OOP features besides classes” in “Exploring ES6”. Classes [1] are the major new OOP feature in ECMAScript 6 [2]. However, it also includes new features for object literals and new utility methods in Object. This blog post describes them. New features of object literals  # Method definitions  # In ECMAScript 5, methods are properties whose values

    efcl
    efcl 2014/12/21
    ES6の機能、短縮記法を使った書き方について。 `Object.assign`を使ったオプションのデフォルト値の適応、`Object.is`などについて
  • 1