News for hackers. Stuff that matters.
Re:Why I’m not leaving Python for Go by vog on Monday September 24, 2012 @03:27AM (#4563593)
Python doesn't have defer/panic, but it does have "with" statements which solve this issue in a RAII-like style:

    with open('foo') as f:
        # do stuff

There are no comments on this comment yet.