←back to thread

207 points mfiguiere | 1 comments | | HN request time: 0.373s | source
Show context
stickfigure ◴[] No.43539275[source]
Great! Now can we make `final` the default for all fields, variables, and parameters?

(yes yes, I know, that would break syntax... but please come up with something to discourage mutability)

replies(5): >>43539333 #>>43539950 #>>43540550 #>>43541493 #>>43543176 #
1. throwaway92422 ◴[] No.43541493[source]
Records in Java have final fields.