Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
golergka
on May 11, 2017
|
parent
|
context
|
favorite
| on:
Don't overuse interfaces
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: