FWIW, Google's C++ style guide explicitly requires passing pointers to arguments (whenever possible) when they are to be modified or used as out parameters, and passed by const& when they are not. This makes it more obvious at the caller's end which parameters are going to be modified and which ones aren't.
KennyTM~ Wrote:Perl is dynamically typed, right? D is statically typed, so it can statically check most things like out variables won't overwrite const arguments.
> I disagree. If you want to save keystrokes, use Perl.