GWT? …I’m fine, thanks.

Although I can’t say I love it, I’m fine with writing pure JavaScript code. I don’t need some smart-ass engine to generate it from my Java code. Really, I can live without a tool that forces me to sodomize a Java module to be JDK 1.4 compatible, while it sits on top of a heavy machinery that is annotation and generics oriented.
I have absolutely no problem in not integrating a tool that offers me two extreme options: “map the domain model if you want to use me” or “knock yourself out with JSON, key-value DTOs or other such approaches”. In both cases I would say no thanks, I’m fine.
I could manage to get by very well without a tool that is trying to implement Swing for the Web. Didn’t you guys already get it? It doesn’t work that way! I really don’t need to think about “why the fuck is not a label a span?”, “why doesn’t text-align work? aaa, it’s a div again” or most importantly “why the fuck do I need to write 50 lines of Java code for something that is eventually rendered in half of this quantity in HTML?”
I am definitely ok without a tool for which you can find serious docs anywhere but on the project website. I really don’t have a problem in not using a tool that has a JSNI acronym for something that is merely anything more than some commented code eventually inlined at compile time.
I thank the GWT guys for making me understand that pure JavaScript is not that evil. In my work, JavaScript (and web development in general) is the mistress with which you can play some pretty unorthodox sex games while watching lesbian porn (if you have the patience for all her moods), while Java on the other hand is the always reliable wife that you want to have kids with and live happily ever after. As long as none of them sees you on the street with the other one, you’re a happy developer.
We all know Google is bored and reinvents lot’s of wheel types just for the fun of it. I would usually be ok with this too (for the sake of competition) if it could only be done with decency and if no bisexual activities were involved. The only plus there that is related to Java is probably Bob Lee’s Guice.
Really, when I look at GWT I feel that it was written late at night by a bunch of drunk unemployed wannabe programmers or by a soon-to-be-fired Fortran developer in a company adopting Groovy, that tries to save his ass. Whenever I have that feeling I know I need to move on to something else.

3 comments ↓

#1 AceGentile on 11.06.07 at 7:58 am

I think Google will not hire your ass soon after this one.
I feel pure javascript is to be preferred against javascript tool generators but do I really wanna learn javascript?
As A C++ programmer I welcome anybody that spares me of writing javascript or other script language and gives me a library that does the trilulilu so that I can stay a javaScript ignorant forever and concentrate on my true love: learning a real programming language.

Better to be first in the food chain.
Au revoir. :)

#2 Cosmin Marginean on 11.06.07 at 8:12 am

Hehe. You do have a point. I would also like a decent tool to generate the JavaScript for me, but GWT is not one of those tools. The point is that trans-sexuality among programming languages doesn’t work in the real world, at least not from my experience.
It’s ok to have someone cook the JS for you, but it’s not ok to have to limit your “real programming language” to a set of features that the tool can understand, just because the tool doesn’t know what to do with org.myproject.MyNonJdk14CompatibleClass.
My best regards :)

#3 Russische Frauen on 05.20.11 at 2:37 am

What an excellent blog! The point is that trans-sexuality among programming languages doesn’t work in the real world, at least not from my experience.

Leave a Comment