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

Exactly. For example, in C#, it is still customary to use List<T> everywhere, although what the developer really needs is just IEnumerable<T> (which also guarantees that the collection will not be mutated).


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

Search: