Generic Programming

Dynamically typed object-oriented languages have been left out of the scope of generic programming: in a dynamically typed setting, the need for generic programming has been less prominent since no restriction applies over the kind of elements a collection may contain. However, when creating an object, the class name is hardcoded in the program, and this makes the object instantiation process hard to abstract from.

~

BERGEL, Alexandre and BETTINI, Lorenzo, 2013. Generic Programming in Pharo. In: CORDEIRO, José, HAMMOUDI, Slimane and VAN SINDEREN, Marten (eds.), Software and Data Technologies. Berlin, Heidelberg: Springer. 2013. p. 66–79. Communications in Computer and Information Science. ISBN 978-3-642-45404-2. DOI 10.1007/978-3-642-45404-2_5.