Functional programming

Chris Angelico rosuav at gmail.com
Tue Mar 4 16:26:53 EST 2014


On Wed, Mar 5, 2014 at 8:21 AM, Marko Rauhamaa <marko at pacujo.net> wrote:
> Chris Angelico <rosuav at 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



More information about the Python-list mailing list