Poll: Would you like to try const-by-default or not?
Jeff Nowakowski
jeff at dilacero.org
Sun Jun 10 14:34:51 PDT 2007
Jarrett Billingsley wrote:
> Please reply with your choice, and maybe a small explanation of why.
Option 2, and I'll quote Walter:
"Having const will reduce the problem by bringing the documentation into
the semantic information of the code, and so reduce the need for code
reviews in the future."
Functions with side-effects should be marked as such. Let the compiler
help.
-Jeff
More information about the Digitalmars-d
mailing list