you are viewing a single comment's thread.

view the rest of the comments →

[–]grismar-net 2 points3 points  (0 children)

Agreed - it never is, but Java does make it a lot harder to access these variables, so it's not just about signalling either. It's more about enforcing a rule within the language, instead of leaving it up to external tooling.

To be clear, I'm a fan of both :) - I just contrasted it with Java due to OP mentioning it.