約1,290件1ページ目

日本語のみで絞り込む

条件を指定して検索しています。すべての条件を解除する

  • 最終更新日:1か月以内
  • 2026/11/2 -Factory: decides which object to create (Email, SMS or Push). Creation happens in one step. Builder: decides how to construct one complex object, step by step.

    2026/10/17 -The factory pattern centralizes object creation so that callers do not need to know the details of constructing each object.

    2026/10/19 -A constructor is essentially a function that returns a value. There's little reason to think that constructors are more than that. A few examples: in JS, a ...

    2日前 -In addition to the constructor behavior implied by [HTMLConstructor] , some elements also have named constructors (which are really factory functions with a ...

    5日前 -The inject() function does the same thing but can be called outside a constructor — inside a field initializer, a factory function, or a functional guard ...

    2026/11/2 -It may still be valuable to include factory methods in addition to constructors, when they provide additional benefits. A common such case is when an API ...

    4日前 -factoryA factory function is a function that creates and returns an object, value, or configured function. mocking frameworkA software framework that ...

    2026/10/30 -Every place in the program that creates an object (a class, a constructor function called with new , one object-literal expression, one Object.create(P) call) ...

    6日前 -The constructor method is a special method for creating and initializing an object created with a class. There can only be one special method with the name " ...

    2026/10/25 -These constructors can allow being body-less, as long as they don't declare any normal parameters too. Constructors were always a painful point for me, and even ...