First impressions of Maven

I’m down with the ‘flu today, so I thought I’d do something to take my mind off it and check out Maven I’ve been somewhat critical of Maven in the past, but only tentatively as I’ve never really played with it. So I thought I’d rectify that.

Continue reading “First impressions of Maven”

Remote Exceptions and the LSP

Why did I rabbit on about the Liskov Substitution Principle anyway? Because the infamous RemoteException is an example of the issue.

Continue reading “Remote Exceptions and the LSP”

Mixing and leads to confusion…

Update: It’s not a bug, it’s a feature! Seriously. 😉 It turns out that the <ant> task effectively sets the basedir property as a user-property, which means that it can’t be changed. User-properties are propogated through regardless of the inheritAll flag. The doco could have been clearer, but that’s life.

The easy work around: don’t use the dir attribute to locate the file, actually specify it in full (see the bug report for the example).

I lodged a bug report with Apache Ant today; first one in a long while. It turns out the the <ant> and <subant> tasks aren’t entirely compatible.

Continue reading “Mixing and leads to confusion…”

Circle/Ellipse Paradox… NOT!

There’s a (somewhat controversial) design principle in object-oriented programming called the Liskov Substitution Principle. One of the classic examples is about Circles being Ellipses.

Continue reading “Circle/Ellipse Paradox… NOT!”

Why some web frameworks don’t distinguish between GET and POST

Daniel Hinojosa asks What the hell ever happened to doGet() and doPost()

Continue reading “Why some web frameworks don’t distinguish between GET and POST”

/** Still no comment */

Cedric takes exception to my earlier post another who didn’t get what I was saying. I think that says a lot for my ability to explain ideas, uh?

Continue reading “/** Still no comment */”

A feature that I would like in Java 1.5 that’s not there…

Looking back over the notes from the Dev Day I took, I was reminded of a feature that I would have liked to have seen in 1.5: named parameters.

Continue reading “A feature that I would like in Java 1.5 that’s not there…”

Another Sun Dev Day Review

Steve Mactaggart reviews the Melbourne Sun Developer Day. Looks like his thoughts were similar to mine
Continue reading “Another Sun Dev Day Review”

Commenting example

In response to Chris Justus again, here’s how I’d comment his example.

Continue reading “Commenting example”