Hacker News new | ask | show | jobs
by marcosdumay 1450 days ago
The article doesn't explain, but links into a deeper one. The author really means you should use Map<Integer, List<String>>.

He also seems to be unaware that you can have generic code with specific types.

1 comments

You can still use types, as long as they don't encapsulate the data. Admittedly this is hard to do in some languages.