News for hackers. Stuff that matters.
Re:Implementing Go's defer keyword in C++ by RX14 on Sunday October 22, 2017 @07:27AM (#15526252)
True, but it's fairly easy to write:

    def self.open
      File.open(...) { |f| yield f }
    end
Unless they need custom destructor actions, in which case presumably they'd have to implement that manually in python too.
Re:Implementing Go's defer keyword in C++ by masklinn on Sunday October 22, 2017 @07:45AM (#15526331)
Yup and yup.