Search

August 24, 2018
General »
...know if it has some gotchas, though (as I don't use RAII in D...).
August 24, 2018
General »
...…), that's a imho bastardisation of RAII that destroys most of the benefits.

Also...
August 24, 2018
General »
...but whether your example should be called RAII is an entirely different debate, and one...
August 23, 2018
General »
Yeah. I've used RAII plenty in D without problems, but the fact remains that...
August 23, 2018
General »
...code ...
  } // mutex is released

It's still RAII, as the destructor checks to see if...
August 23, 2018
General »
...an invalid state and thus still follow RAII paradigms correctly?

The amount of bugs and...
August 23, 2018
General »
Throwing constructors are fundamental for making RAII work in a composable fashion.

If constructors are...
August 23, 2018
General »
...I know, the only known bug in RAII is https://issues.dlang.org/show_bug...
August 23, 2018
General »
D was designed to have RAII, and it does. It's just that the implementation...
August 23, 2018
General »
I completely agree with this opinion

RAII is nowadays described as C++ nicest , more important...
14 15 16 17 18 19 20 21 22 23 24 25
Next ›   Last »