Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
marcosdumay
3y ago
0 comments
Share
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.
0 comments
default
newest
oldest
weavejester
3y ago
You can still use types, as long as they don't encapsulate the data. Admittedly this is hard to do in some languages.
j
/
k
navigate · click thread line to collapse