<p>Am 05.12.2016 11:01 schrieb "Lars" <<a href="mailto:noreply@z505.com">noreply@z505.com</a>>:<br>
> With data structures like this it does seem people are reinventing it,<br>
> especially when people use a TStringList to store integers (I have done<br>
> this before, a shame indeed, bad programming practice)... Or complex<br>
> generics which just seems like over engineering, but at least it works.<br>
> Using plain old arrays, requires reinventing the wheel because you end up<br>
> writing duplicate functions for each array type (array of string) instead<br>
> of a general purpose algorithm for many types..<br>
><br>
> I guess that is why some people prefer dynamic typed languages because you<br>
> can write general algorithms for many types without reinventing the wheel.<br>
> But with static languages it is still possible, as GoLang has a<br>
> associative array, maps, etc without resorting to complex generics.</p>
<p>I really don't get why some people think of generics as complex -.-</p>
<p>Regards,<br>
Sven</p>