<div dir="ltr">On Fri, Jan 3, 2014 at 9:28 PM, Geoffrey Garen <span dir="ltr"><<a href="mailto:ggaren@apple.com" target="_blank">ggaren@apple.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">I strongly object to varying coding style arbitrarily based on author or project file. That's a recipe for an unreadable polyglot codebase.<br>
</blockquote><div><br></div><div>I wasn't advocating a general coding style free-for-all. I imagine there could be valid subsystem specific reasons for not deploying 'auto' widely.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class="im">
> auto& cell = toRenderTableCell(*renderer); // right<br>
> RenderTableCell& cell = toRenderTableCell(*renderer); // wrong<br>
<br>
</div>Not sure.<br>
<br>
These lines of code do not include a verbatim type name, and so they are not friendly to cmd-click/select-and-search. Changing the function signature to “to<RenderTableCell>”, or something like that, might help.<br>
</blockquote><div><br></div><div>Cmd-click on <span style="color:rgb(80,0,80)">toRenderTableCell takes you to RenderTableCell.h. I'm unconvinced this is a practical problem. </span></div><div><br></div><div><br></div>
<div> antti</div><div><br></div></div></div></div>