This week’s activities

This week I'm spending time working through David Black's Ruby for Rails book (hereinafter referred to as R4R) and helping Will Provost with his courseware. I'm working through the labs and demos in his Intro Java course, now that they've been ported to Java 5.

I'm okay with the enhanced for loop, and with variable arguments, and am getting used to enums. Generics are just plain ugly, and the inheritance aspect of them is very awkward. I thought I was going to really like generics, but now that I'm getting used to a dynamic typing language like Ruby, it all seems so unnecessary.

Six months ago if you'd asked me about dynamically typed languages, I would have said they were too error-prone to be useful. In other words, I would have given the standard Java answer. Now that I've spent time with Ruby and with JavaScript (of all things, but thanks, Ajax), I'm starting to see why they work so well. I'm also beginning to understand why every SmallTalk developer I've ever met loved that language.

I really need to assemble a "Ruby Traps for Java Developers" page, though.

By Ken Kousen

I am a Java Champion and the author of the books "Kotlin Cookbook", (O'Reilly Media), "Modern Java Recipes" (O'Reilly Media), "Gradle Recipes for Android" (O'Reilly Media), and "Making Java Groovy" (Manning), as well as over a dozen video courses at Safari Books Online. I'm a regular member of the No Fluff, Just Stuff conference tour and have given talks all over the world. Through my company, Kousen IT, Inc, I've taught training courses to and worked with thousands of developers.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.