DEV Community

Discussion on: The Coolest Programming Language Features

Collapse
 
nickytonline profile image
Nick Taylor • Edited

I'd say another great language feature is generics. I'm not sure if C# was the language that first created this feature, but it was my first exposure to it.

Some references for those interested:

Collapse
 
renegadecoder94 profile image
Jeremy Grifski • Edited

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.).

Collapse
 
vicentemaldonado profile image
Vicente Maldonado

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.