||[Dec. 1st, 2003|12:37 pm]
|||||Levellers - 7 Chemically Free||]|
Today, I'm learning Python (well, apart from when I'm in meetings, doing SysAdmin tasks, writing cold fusion etc, but you get the idea). Current thoughts so far:
- Indentation - still not convinced it solves more than it fixes
- Lack of implicit calls to str() when building strings is most pesky (Java can do it, so why not python?) Doing '"foo %d bar" % myint' is just icky, and '"foo " + str(myint) + " bar"' is needlessly verbose
- Access to inline documentation via __doc__ is very very cool. Shows Perl's POD stuff up as the muppet thing it is, and reminds you that JavaDoc just isn't quite there. Having tried to fake this sort of thing in Perl a few times, I can really see the advantages of it
- The OO stuff isn't quite as "in your face" as I feared it might be (apart for point 2), so you can easily script in it without having to think quite as much as Java forces you to
Still not convinced it'll replace my current prefered languages (perl for scripting and small projects + small CGI, Java for big things and Cold Fusion for any medium to big web based stuff), but I'm approaching the learning of it with interest.