Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> so was C# 2.0.

True, but C# also has nominal types, overloading, and explicit interface implementation. Adding generics without breaking existing code without those features looks very difficult to me.



They don't have to be Java-ish generics.

Think SML/OCaml/Ada/Modula-3 (modules parameterized by modules) or Haskell (typeclasses).


Actually that would be the easier way. It is also how CLU had them.


What makes it difficult?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: