Thursday, December 31, 2020

Multiton

 

Multiton
Design Patterns
Creational Design Patterns



In computer programming, the Multiton Pattern is a design pattern which generalizes the singleton pattern in two different ways:
1) On copy of the corresponding Singleton for each data type,
2) On copy of the corresponding Singleton for each value of a parameter.
Where the Singleton Pattern permits only one instance of a class to be instantiated, the Multiton Pattern allows multiple instances of a class to be instantiated.



Functional Programming

Functional Programming is a computer programming paradigm in which the constituents of a computer program are functions. In the workflow of the program, you would find functions calling functions in a way that in one stack of calls you might observe tens or even hundreds of nested function calls. Functional Programming implementations make many complex algorithms be programmed easier than many other paradigms, however, its performance (speed of computer program executing) may be lower than those paradigms.