<p dir="ltr">I don't have time to properly respond, but I'm pretty sure no one on this team is using single letter variables to save keystrokes. </p>
<p dir="ltr">Is is a good point that abbreviations may be more common in one area than another. I find both ctx and txn to be completely self explanatory even with zero context (heh).<br>
</p>
<div class="gmail_quote">On Aug 26, 2013 8:33 PM, "Julian Edwards" <<a href="mailto:julian.edwards@canonical.com">julian.edwards@canonical.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 27/08/13 09:26, Andrew Wilkins wrote:<br>
> Traditionally I've also avoided abbreviated names (preferring context<br>
> over ctx, transaction over tx/txn). I'm not 100% convinced that this is<br>
> necessary, though, in these cases where there's a *conventional* and<br>
> obvious abbreviation. I mean, ctx is pretty obvious. "c" not so much<br>
> (though I use "c" a *lot* in llgo to shorten "compiler"; not great, but<br>
> at least I'm pretty consistent about it, so it's a project-specific<br>
> convention).<br>
<br>
YMMV.  I find "txn" far more obvious than "ctx".<br>
<br>
Talking of "c", I was astounded the first time I found a struct called<br>
"C" being used in juju tests.<br>
<br>
> Minimising cognitive overhead is more important than saving a few keystrokes.<br>
<br>
I believe this is exactly what Tim is trying to say :)<br>
<br>
--<br>
Juju-dev mailing list<br>
<a href="mailto:Juju-dev@lists.ubuntu.com">Juju-dev@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/juju-dev" target="_blank">https://lists.ubuntu.com/mailman/listinfo/juju-dev</a><br>
</blockquote></div>