Please. Stop. This. I’ve asked, nicely, previously. Now I’m getting annoyed. I’ve said it before: If you want Python, you know where to get it.
-
Recent Posts
Recent Comments
- borgauf on JSON Versus S-Expressions (Again)
- plgx on Emacs Keybindings for Mac OS X
- Isaac on EmacsMovies Looks at Gnus
- jcs on Org Mode Summary
- Seth Mason on Org Mode Summary
Links
Archives
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
Categories
Meta
if people want to do that, a better way is at the editor level. Lisp syntax is such that it can be trivially auto-formatted. So, the editor can render it with indentation, or transform indentation to nested paren on the fly.
when indentation is worked into the semantics (such as python, and now fashionable in YAML, Haskell, CoffeeScript, etc.), the language ceases the ability to auto format/render in anyway. It’s like hard-coded, ascii-art.
i think this idea is perennial. Back 10 years ago, i read such proposals or projects on comp.lang.lisp about every few years. Then later, i learned, such project went back to 1973 http://en.wikipedia.org/wiki/CGOL
or even the original lisp, as M-Expression.
though, to me, this indicates that pure nested paren is indeed a problem, as apparently not smart people constantly try to revive the idea.
my fav example that works is Mathematica, where the syntax is pure nested form f[...], even more pure than lisp, yet it has a layer on top to allow such things as 3+4, etc.
not smart -> smart.
This same pathology appears in many languages. As soon as people learn a new language they look around for ways to make it look like their old language. N00bs are always trying to get rid of parentheses in Lisp. After the 10th project you run across it gets old. The parentheses are there for a reason; Lispers like them; please leave them the hell alone.
I remember years ago people coming to C from Pascal would use C macros to make the language look like Pascal. Guess what? The C experts didn’t approve of that anymore than the Lispers approve of people trying to make Lisp look like Python.
Sadly, not even smart people are immune. Take a look at the source code for the original Bourne shell sometime.
While I completely agree with you about the sheer pointlessness of it all, I’m not sure how someone else choosing to do this affects you, and therefore I don’t understand why you care at all.
(Unless they’re doing it in your codebase, in which case you are permitted – nay, morally obliged – to bonk them with their own keyboards and take away their { and } keys.
Well, you’re right, of course, I shouldn’t care but here’s a thought experiment. I live in Florida. Suppose I came up to Canada and said, “You know, you guys don’t build your houses correctly here. The way we do it in Florida is…” If I did it once you would probably think something along the lines of, “What a dweeb! The moron doesn’t understand that the weather’s colder here.” and then forget about me. But what if I kept coming back and saying the same thing?