Skip to content

Comment on JVM Anatomy Quarksparent

Comments

    > the thing is when you’re only consuming a collection,
    > a lot of the types have the same semantics, so they 
    > don’t need separate read interfaces


    > Most APIs should only consume collections from callers
I'm having trouble understanding what you mean by "consuming a collection." Can you expand?

Read-only use of an externally provided collection, presumably.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.