4 ms·
Exactly. Yet Java has autocloseable without having deterministic destruction
by The_rationalist 6y ago
Exactly. Yet Java has autocloseable without having deterministic destruction
- masklinn 6y agoAutoCloseable is the same as Python's __exit__, it exists as a hook to try-with-resource in the same way __exit__ is a hook for `with`.