Good one! I forgot about generics. They're used all the time in Java as well when you want to specify the type of some collection (i.e. ArrayList<T>, LinkedList<T>, etc.).
I guess we kind of just take generics for granted. It would probably take me to program in a language that doesn't have generics (like VB6) to really appreciate it.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Good one! I forgot about generics. They're used all the time in Java as well when you want to specify the type of some collection (i.e.
ArrayList<T>
,LinkedList<T>
, etc.).I guess we kind of just take generics for granted. It would probably take me to program in a language that doesn't have generics (like VB6) to really appreciate it.