/code - Brian SlesinskyOccasional essays, often concerning software development in Java.Guice with Curry- May 30, 2007 I previously explained how Guice works, but not how it changes your application's archiecture when you use it. Now that I've had some practical experience, I can explain a little more about that. While refactoring my 20% project to use Guice for creating objects, I found myself adding factory classes where previously the code would call constructors directly. This seemed odd because up until now, I've generally thought that factories are overused and best avoided. Later in this article...http://slesinsky.org/brian/code/guice_with_curry.html A Poem in Inform 7- May 10, 2007 I recently finished reading Le Ton beau de Marot, an excellent book about translation by Douglas Hofstadter, whom you might know as the author of Gödel, Escher, Bach. The book includes dozens of translations of "A une Damoyselle malade," a short poem written by Clément Marot in 1537 as a sort of get-well card to the daughter of Marguerite de Navarre. The translations vary from literal glosses to very loose and playful ones that might better be called adaptations. It looked...http://slesinsky.org/brian/code/a_poem_in_inform_7.html |