Hacker News new | past | comments | ask | show | jobs | submit login

In practice that's rarely an issue, because a) if it has a resource it'll implement IDisposable and b) my IDE screams when I don't dispose an IDisposable.

This is not as good as the Rust model, but it's not awful, either.




Yes but that is just the compiler offloading some of the static analysis to the IDE. The difference might not matter if you are always in an IDE anyway, but the language would be safer if this was an actual compiler error.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: