▲ehlegeth 2021-12-10 | parent | ★ favorite | on: Go의 Defer와 Rust의 Drop(dev.to)Go에도 try-resource에 대한 제안은 있지만 딱히 신경쓰는 것 같지는 않네요: https://github.com/golang/go/issues/29120 이런 것을 보면, 리소스의 해제를 다른 모듈 아래로 감추지 않으려고 하는 것은 Go의 철학이기도 한 것 같구요. https://stackoverflow.com/questions/59044658/…
Go에도 try-resource에 대한 제안은 있지만 딱히 신경쓰는 것 같지는 않네요:
https://github.com/golang/go/issues/29120
이런 것을 보면, 리소스의 해제를 다른 모듈 아래로 감추지 않으려고 하는 것은 Go의 철학이기도 한 것 같구요.
https://stackoverflow.com/questions/59044658/…