Dave Johnson on open web technologies, social software and software development
« WellformedWeb(TM)... | Main | Testing 123... »
I work with a couple of Programming Languages geeks who are, it seems, always Scheme-ing and Smalltalking behind Java's back. One of these guys has a thing about the final key word. He believes that all fields, variables, classes, arguments, etc. should be final be default and that, instead of having a final
keyword to declare immutables, Java should have a mutable keyword to declare those that may be mutated.
He argues that, wherever possible, fields, variables, classes, arguments, etc. should be declared final. Since Java does not default to final, you should default to final. Here are some advantages to this:
Dave Johnson in Java
02:49PM Aug 12, 2003
Comments [2]
Tags:
Java
« WellformedWeb(TM)... | Main | Testing 123... »
This is just one entry in the weblog Blogging Roller. You may want to visit the main page of the weblog
Below are the most recent entries in the category Java, some may be related to this entry.
Posted by PaulRivers on August 13, 2003 at 02:49 AM EDT #
Posted by Chris Nokleberg on August 14, 2003 at 04:43 AM EDT #