P*rl in Latin, whither Python?
dsh8290 at rit.edu
Fri Nov 17 05:10:27 CET 2000
I too rather like the unrestricted use of chars in symbols in LISP. The '?' and '!' conventions are much more concise and stand out more than "is" and "set". I also like the use of hyphens.
I always put space around my operators for readability anyways so I'm in agreement with this.
On Thu, 16 Nov 2000 16:11:54 Richard.Suchenwirth wrote:
| Alex Martelli wrote:
| > It IS sort of nice to be able to name all predicates ending with '?',
| > all functions-which-modify-args ending with '!', etc. The price you
| > pay for that is that you have to put spaces in LOTS of spaces
| > where they are not needed in "run-of-the-mill" languages (such
| > as Python) that severely restrict the set of characters usable in
| > identifiers.
| > a+b this would be an identifiers, so
| > a + b is what you must write for addition
| > etc, etc. (LISP-ish syntax is different -- if no infix operators
| > exist, the space-around-operators issue of course disappears:-).
| These required whitespaces (and the freedom in variable, procedure..
| names) are also a feature in Tcl. But I'm not much troubled by having to
| put in lots of spaces -- the space bar is so easy to hit with the
| Schoene Gruesse/best regards, Richard Suchenwirth - +49-7531-86 2703
| RC DT2, Siemens Electrocom, Buecklestr. 1-5, D-78467 Konstanz,Germany
| -------------- http://purl.org/thecliff/tcl/wiki//Richard*Suchenwirth
| AL:The Analytical Engine worketh not! CB:What version dost thou have?
More information about the Python-list