Hacker News new | past | comments | ask | show | jobs | submit login

> Syntaxes that are hard for computers to parse are also hard for humans to parse.

This is obviously untrue. People aren't computers. Obviously there's some relationship, but it's clearly not 1:1.

> it's really easy to edit

Is it? Kind of looks like a formatting nightmare to me, though presumably auto-formatters are pretty much a requirement (and I guess trivial to implement).

Very interesting comment anyway, thanks!




I would not work in any language without automatic indentation and formatting. Wrestling with these things by hand is unproductive.

Writing code in an editor not for programmign is not a lot of fun.

Even in classic Unix Vi of Bill Joy heritage, there is a Lisp mode (:set Lisp). (Not described in the POSIX description of vi, though.)

Vim has decent Lisp support out of the box. It's built on extensions over top the classic Lisp mode.

Some newer editors may be lacking in Lisp support, due to being produced by newer people who are not aware of Lisp.

However editors have to deal with nested parentheses for all sorts of languages!

For instance when you're editing a .c file in Vim, it does a decent "Lisp like" job of nested parentheses, in some regards.

  ((x + y) *
   z) /* <-- z auto-indents here, etc */
You can probably hack a Lisp mode out of a C or Javascript mode by trimming out a bunch of functionality and adding a thing or two.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: