Skip to content

Comment on Scala 2.11.0 Release Notesparent

Comments

So why did they choose to allow case classes to have arbitrary arity? Not that I'm complaining, I just don't understand the underworking of scala that well.

They just don't emit all the boilerplate which would require unlimited-arity Tuples/Functions/... for larger case classes.

AboutSource Built by g1lg1l

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