<div class="gmail_quote">On Mon, Oct 24, 2011 at 1:41 PM, Sascha Silbe <span dir="ltr"><<a href="mailto:sascha-ml-reply-to-2011-4@silbe.org">sascha-ml-reply-to-2011-4@silbe.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Excerpts from Daniel Drake's message of 2011-09-15 21:36:58 +0200:<br></blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
</blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
{...} </blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
> + def _secrets_err_cb(self, err):<br>
> + logging.debug("No GSM secrets present, or error: %s", err)<br>
<br>
In Sugar source, we prefer single quotes over double quotes for string<br>
literals (unless the literal contains single quotes). An arbitrary<br>
decision, but for consistency we should use the same style everywhere.<br>
This applies to same other parts of the patch as well.</blockquote><div> </div><div><a href="http://wiki.sugarlabs.org/go/Development_Team/Code_guidelines#Miscellaneous">http://wiki.sugarlabs.org/go/Development_Team/Code_guidelines#Miscellaneous</a></div>
<div><br></div><div>There is a human factors reason for preferring single over double quotes:</div><div><br></div><div>In a busy field of view, such as code, maximizing the 'information/ink' ratio (by removing superfluous ink or pixels) makes it easier to 'see' or grasp what is important in all the eye spans that need to be mentally integrated.</div>
<div><br></div><div> --Fred</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">{...}<br>
<font color="#888888">--<br>
<a href="http://sascha.silbe.org/" target="_blank">http://sascha.silbe.org/</a><br>
<a href="http://www.infra-silbe.de/" target="_blank">http://www.infra-silbe.de/</a></font></blockquote></div>