Shapes Don’t Draw

Shapes don’t draw. The circle on the jotter next to me didn’t draw itself, I drew it – and it’s not very round! There’s a misconception (as advocated by many Object Orientated Programming 101 courses) that shapes draw. I believe this leads to some problem designs. Here’s one such example.
Continue reading

Hibernate – Please Don’t Deprecate Yourself

There are occasional wow moments in technology and I had one such moment in the summer of 2004 when I joined a project that was using Hibernate. In a matter of hours I was reading and writing beans and it was so effortless it seemed like magic.

Today I decided to take a look at Hibernate 4.1 and for several hours I have not been saying wow but why? and what? and worse…
Continue reading