Re:A case against security nihilism
by jolux on Wednesday July 21, 2021 @07:13PM
(#27913343)
I agree that RAII is superior, but it’s not true that compilers and library authors can’t do anything to enforce proper usage of Drop-able types in GC’d languages. C# has compiler extensions that verify IDisposables are used with the using statement, for example. Granted, this becomes a problem once you start writing functions that pass around disposable types.
[ Parent
| on HN ]
There are no comments on this comment yet.