Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



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

Search: