James Strachan is putting together a wish-list for a fictional Java pre-processor.
Generics & properties would be cool. Foreach would be just like Python's for, and everyone who is anyone knows how cool that is.
Better to roll these changes into Java proper than to use a preprocessor, though. How does one propose changes to Java? JSRs, I think.
The Law of Leaky Abstractions is dragging us down.
Yup, Joel, there is a lot more to know these days. But some of us like that. ;-)
A very interesting post, nay, essay from the martellibot on The principle of least privilege vs. public by default, taking in the Waterfall methodology, Eastern European politics and Wittgenstein en-route.
It's in the Python newsgroup, but it's applicable to any development environment, and the code samples are in multiple languages.
The only Python thing that you need to know it that object members prefixed with a single underscore (_likeThis) are 'private by convention'. That is to say - there is nothing to stop you accessing or modifying these members, but the onus is on you to know what you are doing.
Members prefixed with a double underscore (__likeThis) really are private. You cannot access or modify these members through the normal mechanisms. (There are still ways of getting at them, but you really better know what you are doing.)
Alex argues that 'private by convention' is A Good Thing.