News for hackers. Stuff that matters.
Re:Let’s stop copying C (2016) by gmueckl on Wednesday January 23, 2019 @11:13PM (#18985909)
I totally missed that Python has this. This seems like the saner sibling of C#'s using/IDisposable construct.

You can do a kind of RAII in D when you use structs instead of classes because these are stack allocated and have a suitable lifetime.

There are no comments on this comment yet.