Comment by nutate

11 years ago

Tell me what happens with that technique when your json has > 22 keys. ;)

(Edit) this is apparently working in the latest scala 2.11 But it killed my adoption of scala for real work early on. https://issues.scala-lang.org/browse/SI-7099

It works without issues.

I never have seen a use-case where this would have been an issue. Sure, it "looks" unfortunate, but there is only so much you can do when running on a completely uncooperative runtime.

If devs need a typed representation of unlimited length, they provide a HList and move on.

Such a representation will replace the length-limited tuples in a future version of Scala.