教土豆学计算机
…
with
with is not just for resource management, but it’s a tool for factoring out common setup and teardown code, or any pair of operations that need to be done before and after another procedure
resource management
common setup and teardown code