Hi Vernon,<div><br></div><div>... not to be confused with Vern &quot;the Watcher&quot; Ceder.<br><br><div class="gmail_quote">On Mon, Jul 18, 2011 at 8:47 AM, Vernon Cole <span dir="ltr">&lt;<a href="mailto:vernondcole@gmail.com" target="_blank">vernondcole@gmail.com</a>&gt;</span> wrote:<br>

<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">There is a very good reason for this:  standard library code must be readable for people all over the world.  That&#39;s why a Dutch software engineer wrote a language in which all the keywords and commentary are in English.  <div>

<br></div></blockquote><div><br></div><div>Yes, the Standard Library is to be Anglicized for some time to come, </div><div>maybe always, per Guido&#39;s talks.</div><div><br></div><div>Of course there&#39;s nothing to stop someone from writing a translator </div>

<div>for the Standard Library, such that the source originals (as modified) </div><div>might be rendered in myriad other charactersets.  </div><div><br></div><div>Top-level names tend to be amenable to such treatment.  </div>

<div><br></div><div>This may be done down to the C family level, though I&#39;m not suggesting </div><div>that it should be (nor are all Python implementations C family I hasten </div><div>to add, (a Jython is &quot;C family&quot; if the Java VM is)).</div>

<div><br></div><div>The same is not true for 3rd party modules which, as you say, </div><div>may be written in any style.</div><div><br></div><div>Learning the Latin (English) alphabet, building a vocabulary, remains </div>

<div>a good idea obviously, along with ASCII in the context of Unicode.  </div><div><br></div><div>I expect those focused in computer science will continue giving </div><div>themselves the benefit of this learning.</div>
<div>
<br></div><div>I received Romanized Indonesian source code for quite awhile, until </div><div>the student moved to Japan and apparently stopped doing Python.</div><div><br></div><div>I&#39;m impressed with all the alphabets you know.</div>

<div><br></div><div>3rd party modules written in Cyrillic with the peppering of </div><div>Roman we know must be there, thanks to Standard Library</div><div>(untranslated) and the 33 keywords (so far), could be used </div>

<div>in computer science to help English speakers learn a </div><div>Cyrillic language.</div><div><br></div><div><a href="http://en.wikipedia.org/wiki/Languages_written_in_a_Cyrillic-derived_alphabet" target="_blank">http://en.wikipedia.org/wiki/Languages_written_in_a_Cyrillic-derived_alphabet</a></div>

<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>

&gt;<br>&gt; The flip side argument, which I find more persuasive, is that<br>&gt; one of the biggest barriers to diversity is over-reliance on Latin-1,<br>&gt; and &quot;just ASCII&quot; in particular.<br>&gt;<br></div>

<div>&gt; The whole point of Unicode was to open up source code writing,<br>

&gt; as an occupation, to more than just Euro-English speakers.<br><br></div>I disagree.  The whole point of Unicode is to open up application writing, so that _users_ can see computer output in their own languages.  A person who wishes to pursue code writing as an occupation must understand and use English -- or be relegated to producing work only for his own culture.  In the modern &quot;flat&quot; world, English is the language of commerce and computer programming.  Not being able to write understandable English is a severe handicap. My programs are written in Python, documented in English, and usable by persons of another language.  For example, see CaesarCalc.py from <a href="https://launchpad.net/romanclass" target="_blank">https://launchpad.net/romanclass</a> , which assumes the user to be able to understand pigeon Latin. Even then, I give the result of (XVI - XVI) as &quot;Nulla&quot; because I expect that most users will not recognize &quot;Nvlla&quot; as meaning &quot;nothing.&quot;<br>



<br></blockquote><div><br></div><div>Certainly the GUI needs to be intelligible yes.</div><div><br></div><div>Lets just say there&#39;s a school of thought that has </div><div>no problem with a math, logic or grammar teacher </div>

<div>using only Chinese characters for top level names </div><div>in various exercises using Python or other </div><div>Unicode aware computer language.  And no </div><div>problem with another teacher using only Hebrew</div>

<div>characters for top level names and so on.</div><div><br></div><div>This school of though hangs out on the Python</div><div>Diversity list and self-organizes there.  If you go</div><div>back in the archives, you&#39;ll find myself and a </div>

<div>guy named Carl doing stuff in the Python wiki</div><div>to expand the language base, including at the </div><div>source code level.  With Pycon / Tehran in the</div><div>planning, we want to be in a better position to </div>

<div>address issues relating GeoDjango to Farsi, say.</div><div><br></div><div>These exercises (mentioned above) may have </div><div>nothing to do with writing commercial applications.  </div><div>These may not be programmers in training </div>

<div>(though some may be in commercial media, </div><div>where &quot;programming&quot; also has meaning (e.g. </div><div>in radio / TV)).  Instead of using a calculator </div><div>or abacus to learn numeracy skills, people </div>

<div>have laptops and internet access.</div><div><br></div><div>Having readable source code in languages </div><div>that aren&#39;t in a Roman alphabet is already </div><div>a spreading phenomenon, with many writers </div>

<div>happily giving up that so-called &quot;world readability&quot; </div><div>in favor of remaining intelligible to the girl or boy </div><div>next door.  </div><div><br></div><div>The syntax of URIs and domain names has </div>
<div>already taken this turn.  You will have http//arabic letters// </div><div>quite frequently these days, thanks to the </div><div>Unicode basis of http (which Python now needs </div><div>to deal with, and does, as an http-aware language).</div>
<div><br></div><div>
CSS for Arabic is the kind of style concern for </div><div>which we may have insufficient literature to date.</div><div>We may have people joining Diversity who want to</div><div>develop that literature (recruiting happening).</div>
<div><br></div><div><a href="http://www.guardian.co.uk/technology/2010/may/06/arabic-web-addresses-internet" target="_blank">http://www.guardian.co.uk/technology/2010/may/06/arabic-web-addresses-internet</a></div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Here is sample output.  Notice that, when it blows up the traceback is in Python with English explanations:<br>

&lt;console dump&gt;<br>procer numerus hic:III - II<br>I<br>procer numerus hic:3 - 2<br>I<br>procer numerus hic:3 - 3<br>

Nulla<br>procer numerus hic:2 - 3<br>Traceback (most recent call last):<br>  File &quot;CaesarCalc.py&quot;, line 40, in &lt;module&gt;<br>    print (cvt(subtrahends[0]) - cvt(subtrahends[1]))<br>  File &quot;/home/vernon/romanclass-1.0.1/romanclass.py&quot;, line 99, in __sub__<br>



    return Roman(self.__int__() - other)<br>  File &quot;/home/vernon/romanclass-1.0.1/romanclass.py&quot;, line 85, in __new__<br>    raise OutOfRangeError, &#39;Cannot store &quot;%s&quot; as Roman&#39; % repr(N)<br>romanclass.OutOfRangeError: Cannot store &quot;-1&quot; as Roman<br>



&lt;/console dump&gt;<br><br>IMHO, on the whole, PEP 8 is a pretty good document.<br>--<br><font color="#888888">Vernon<br></font></blockquote><div><br></div><div>I&#39;m not denigrating PEP8 in any way, even though </div>

<div>I used some light sarcasm in my post.  That was </div><div>not directed against PEP8, so much as against </div><div>the idea that the &quot;rule book&quot; is somehow complete, </div><div>just because we have it down that functions should </div>

<div>generally not start with a capital letter, and </div><div>l (lowercase L) is a terrible name for all purposes </div><div>because it&#39;s so indistinguishable from uppercase </div><div>I and the number 1 in many fonts.</div>

<div><br></div><div>I think as people start getting a lot more experience </div><div>writing Python with different namespaces, with </div><div>non-Roman top-level names etc., that the rule </div><div>book is inevitably going to expand and that a </div>

<div>Book of Styles could conceivably become enormous. </div><div><br></div><div>But then think of English:  we acknowledge many </div><div>styles as being appropriate and don&#39;t have just </div><div>the one &quot;book&quot; where style is concerned (we have </div>
<div>so many) -- not like the dictionary, with a goal of </div><div>including every word in a finite and deliberately </div><div>exclusive set of standard words.</div><div><br></div><div>I have some examples of Python source in my </div>
<div>blogs, using kanji as top-level names (might be </div><div>a Japanese program, as one of the kanji is for </div><div>Mt. Fuji as I recall).  </div><div><br></div><div>Then there&#39;s some tracking down Stallman on </div>
<div>a visit to Sri Lanka (awhile back) and chatter </div><div>about Python in Tamil and Sinhalese.  And yes, </div><div>I am aware English is spoken in this parts as well,</div><div>as evidenced by Arthur C. Clarke&#39;s having lived</div>
<div>there for so long.  One of our CSN chiefs has a</div>
<div>track record there too, another English speaker.</div><div><br></div><div><a href="http://www.sarvodaya.org/2005/05/17/suzanne-bader%E2%80%99s-sri-lanka-visit-report">http://www.sarvodaya.org/2005/05/17/suzanne-bader%E2%80%99s-sri-lanka-visit-report</a></div>
<div><a href="http://controlroom.blogspot.com/2009/01/at-work.html">http://controlroom.blogspot.com/2009/01/at-work.html</a></div><div><a href="http://risenfall.wordpress.com/2008/01/14/richard-stallman-rms-is-in-sri-lanka/">http://risenfall.wordpress.com/2008/01/14/richard-stallman-rms-is-in-sri-lanka/</a></div>
<div><br></div><div>Kirby</div><div><br></div></div></div>