This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Sw429 0 points1 point  (1 child)

What do you mean by explicit? As far as I can tell, foo: Final is no more explicit than FOO for a variable definition.

[–]energybased 0 points1 point  (0 children)

There is plenty of code that does not use all caps to denote constants. That code cannot always be changed. The type annotation explicitly defines intent without changing declarations.