On 22.09.06 23:06:40, Torsten Marek wrote: > >> I find it amazing how much fun Python programming is when you are > >> programming > >> Java the whole day at work. Today, I drove one of my fellow workers to > >> madness > >> because I thought about passing HashMap<String, Object>, which is the > >> closest > >> thing that Java has to a dict. And Java does not have a type-safe tuple > >> (even > >> C++ now has one in TR1). > > > > Tell me about it. I have to use Java at work and currently I end up > > implementing simple classes with only getter/setters to avoid multipli > > nested Maps/Lists... > > That's what my co-worker tried to talk me into today. Seems like overkill to > me, > but then again I have to start thinking more java-ish.
Well, for me it's overkill too, but working with maps/lists is so much pain in Java that it's actually worth it. > > I need to check Jython out, maybe I can use that for my diploma to stay > > with Java language while using python :) > > Maybe you should also check out Groovy. It's strongly typed, but requires much > less typing and supports (*gasp*) anonymous functions (at least somebody told > me). >From the Wikipedia entry it sounds interesting. I have to take a look. Anyway I first have to talk my boss into using something java-based but not java itself... Andreas -- Don't read everything you believe. _______________________________________________ PyKDE mailing list PyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde