Uppercase constants should be allowed or even the only ones allowed. #288
matiwinnetou
started this conversation in
Syntax suggestions
Replies: 1 comment 3 replies
-
No we're not interested in mixed casing |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Consider the code:
Defined at the top level of the *.ak file, this code of course works fine but.... it is quite common in other languages for contants to use upper case, c does it, java does it, scala does my suggestion would be instead of allow this we would only allow upper case constants like:
Basically currently doing this, code won't even compile with upper case constants. At minimum it should compile and ideally I would argue constants without using upper case parameters should not even compile.
Beta Was this translation helpful? Give feedback.
All reactions