Evan Martin (evan) wrote in evan_tech,
Evan Martin

python 2.5

The language extensions in Python 2.5 are almost uniformly nonsensical to me: Conditional expressions, but with gratuitously weird syntax; partial application, where even their example of why you'd want this could've been written more clearly with lambda (open_func = lambda: self.open_item(item_path)); a bunch more attempts at Ruby parity, but some using weird syntax extensions instead of something more general. I think Python had a lot of interesting things going for it originally, and used to be quite the enthusiast, but as I learned more about it I grew to like it less and less.

To be fair, I don't much like where I've seen Ruby headed, either: people seem intent on twisting cute hacks (lots of them use eval on strings generated by code, for crying out loud) around what the language provides, and the last time I browsed the proposed language extensions for the next major Ruby release (which I can't find right now) I was mostly disappointed.

Grumble, grumble.
Tags: grumpy, programming languages, python
  • Post a new comment


    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.