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.<div>
<br clear="all">--<br>Ziad<br>
<br><br><div class="gmail_quote">On Mon, Aug 8, 2011 at 12:23 PM, Kagamin <span dir="ltr"><spam@here.lot></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">KennyTM~ Wrote:<br>
<br>
> I disagree. If you want to save keystrokes, use Perl.<br>
<br>
</div>Perl is dynamically typed, right? D is statically typed, so it can statically check most things like out variables won't overwrite const arguments.<br>
</blockquote></div><br></div>