I hope this blog does not turn into just an index of Jeffrey Palermo posts, but he is often writing about something that I think will be useful to my current work. Now he's talking about NHibernate, which is the .NET port of the popular object-relational mapping framework for Java.
First is a post about autoflush mode, and the second is how typecasting affects an object's "dirty" state, both of which we will need to be aware if we choose to use NHibernate, which is likely unless we find that iBATIS.NET is a better fit for our current code and database schema.
Monday, October 23, 2006
Wednesday, October 18, 2006
Java Does Duck Typing
Duck typing is a feature of dynamic object-oriented languages that goes back to Smalltalk, although I first heard the term in the context of Ruby. Here is a very well written article about how to implement duck typing in Java. Although it's more work in Java than in Ruby or Smalltalk, it's not too bad, and could be a worthwhile technique for some cases.
Tuesday, October 17, 2006
Getting rid of god code
Jeffrey Palermo's post from last Saturday exactly describes what I am about to do at my work right now:
god code leads to overly complex applications. A remedy for god code is to push behavior down into the smaller classes being worked on. Empower the smaller classes to take some responsibility for themselves. They are quite capable.
Ruby Declared Mainstream
Curt Hibbs announces that Ruby has been declared mainstream, meaning that it has made the A-list on the TIOBE Programming Community Index, which attempts to chart the popularity of programming languages. On this list, Java is still number one, but dynamic languages such as Ruby and Python are growing in popularity.
Subscribe to:
Posts (Atom)