Kickstarter PanzerPets: Real-life robot MMO
kickstarter.com1 ポイント投稿者 generateui-1 コメント
List someListInstance = new List();
where List is an interface. There is none class needed in your consuming code, none. In C# or Java, this is impossible: You need _some_ class (whether it be a static method on it, or an instance method) to get a new instance of the interface. new List.from([instance1, instance1]);
delivers a lot of clarity, while offering the promised decoupling by the GoF: