jOOQ uses val() as a method name :) But it's aliased with value() for Scala folks, so it'll be OK. Anyway, I'm sure there are many APIs that might break because of this. But hey, why not add escaping for keywords to the language as well, like in Scala? E.g. void `val`() { ... }
1
u/lukaseder Mar 10 '16
jOOQ uses
val()as a method name :) But it's aliased withvalue()for Scala folks, so it'll be OK. Anyway, I'm sure there are many APIs that might break because of this. But hey, why not add escaping for keywords to the language as well, like in Scala? E.g.void `val`() { ... }Also:
gotois still reserved. Just in case.