On Wed, Mar 5, 2014 at 8:21 AM, Marko Rauhamaa <ma...@pacujo.net> wrote: > Chris Angelico <ros...@gmail.com>: > >> Oh, it's THAT problem. Well, it's still not really a fair comparison >> of declared types. It shows how Python's much easier to work with, but >> what you're showing off is the simpler exception handling :) > > The other example I gave is really bread-and-butter Java. An ergonomic > disaster and takes some staring at to figure out what's going on. > > Note that Java doesn't possess typedef's so you really are pretty much > forced to write those < , < >>'s a lot.
C++ at least has typedefs, and in the newer standards, the 'auto' keyword was repurposed. ChrisA -- https://mail.python.org/mailman/listinfo/python-list