You are not logged in.
I'm consider a old-school programmer.
Nowadays we see a lot of use of generics. I can't see a Java code that doesn't have generics.
My question is: We really need generics or we are just following other languages like Java or C#?
For me, most code that use generics are much more confuse. I think there is an abuse of generics.
We can live without them? What do you think?
Offline
Yes, we can live without generics, but life is much better with it, especially with a collection library provided by Spring4d
Last edited by edwinsn (2018-01-21 09:04:34)
Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.
Offline
Most of the time you don't need generics.
I agree with https://en.m.wikipedia.org/wiki/Smart_P … f_Generics
With FPC you have now good generics support.
Especially with maciej new collection units.
But they tend to bloat the executable size.
Offline