Re:Porting 58000 lines of D and C++ to jai, Part 0: Why and How
by WalterBright on Friday November 25, 2022 @03:04AM
(#33740283)
The C++ class would require the user to constantly remember it has to be passed by reference, not by value. D making the class a reference type means the user cannot mix them up.
It has worked well from the beginning, it is not a mistake.
It has worked well from the beginning, it is not a mistake.