Categories
Development

More typing

Gavin King has read the post I pointed to in Extraordinarily typesafe and points out how new features in the Java world are giving us a lot of new possibilities in a type safe way.

I am slowly coming to my senses seeing how much benefit newer features like generics, static imports and annotations are bringing to the game. I used to think that these features were nice to have, but didn’t revolutionize the way we develop our applications. After seeing how Jmock2, Guice, Quaré and others use new features to change the way we code I am beginning to see the light.

I didn’t use to think the Spring xml files were that bad either, but now I really need to look into the Spring Java config API.

Who knows, I might even look into Ruby one of these days. (I would probably miss my type saftety though) 😉

2 replies on “More typing”

I agree with you. All the new stuff in Java5 makes it a lot easier to develop good solid applications. It makes refactoring a lot easier as well.

I guess Ruby is cool. At least some say so. I haven’t really looked that much into it. I goess that you can get away without type safety if you got lots of tests. However badly written tests makes refactoring hard. So you might end up writing stuff slower. Even though I think Rails looks like a awesome way to write stuff fast. I personally perfere Grooy and Grails as I’m a Java programmer and all.

Mmm, yeah. The language isn’t the essential part of Rails, and you should be able to do something pretty similar in Java too, even though you might have to jump through some hoops because of the language.

Leave a Reply

Your email address will not be published. Required fields are marked *