Is there a "best practices" page on this site to use as reference for those FAQ, that AFAIK are not in the docs:

* when to use class vs struct
(eg http://stackoverflow.com/questions/11058906/struct-vs-class-for-writing-d-wrappers-around-foreign-languages)

* what's the standard signature for opEquals ()
(ef http://forum.dlang.org/thread/[email protected]#post-mailman.1402.1345925314.31962.digitalmars-d:40puremagic.com)

* same for toString(), this(), etc.

* to use or not to use @property

etc..

I understand it's on a case by case but I would hope there are certain rules one can follow in 99% cases.



Reply via email to