BlueJ is a tool for teaching OO programming in Java that is very well
regarded in the CS education community. Microsoft engineers who were
familiar with the BlueJ "workbench" added a similar feature to Visual
Studio, didn't give credit to the BlueJ inventors, and filed a patent
application. Not the way to win the hearts and minds of the education
What is BlueJ?...
Mapping Design Intent to Code
Chapter 3 in
Distilled discusses class diagrams. His first design
concept: properties. Fowler describes the role of properties in
OO design and how they are mapped to language features in Java and C#.
In Java, a public read-write property can be
mapped to a getter and setter pair. The design concept
/** the name of this widget */...
The Rules of the Game
This is just a Gedankenexperiment. I am not seriously
proposing anything for Java SE7.
A property is an abstract thing that has a get and set operation.
A "native property" is a "property done right" with new syntax. A
"JavaBeans property" is what it always was.
I don't want to get into any syntax wars. I use an uppercase Pi
(Π) to denote a...
I had blogged
on property boilerplate and the work of my graduate student Alexandre
Alves in the summer, but I didn't get much reaction then. But recently,
there has been a flurry of blogs on native property syntax. Let's try this
Why Native Properties?
Many programmers are sick and
tired of boring, repetitive boilerplate code for JavaBeans properties.
Here is a...
I haven't blogged for a while, but I have plausible deniability. We
just got twins.
shell, run jrunscript (assuming, of course, that you have
that lets you script Java classes. For example, try this little