Sweary TL;DR Factories

I got fed up with how long-winded software pattern articles are, when often the base concepts are quite simple. In this highly-irregular micro-blog segment, I’ll give you a sweary TL;DR of some of the most common patterns out there.

From Wikipedia

In class-based programming, a factory is an abstraction of a constructor of a class, while in prototype-based programming a factory is an abstraction of a prototype object. A constructor is concrete in that it creates objects as instances of a single class, and by a specified process (class instantiation), while a factory can create objects by instantiating various classes, or by using other allocation schemes such as an object pool.

TL;DR

ItĀ makes you shit and you try not to care how, kinda likeĀ Apple.

Leave a Reply

Your email address will not be published. Required fields are marked *