4 ms·
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.
by film42 13y ago
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.
- frowaway001 13y agoThey just don't emit all the boilerplate which would require unlimited-arity Tuples/Functions/... for larger case classes.