Live data from Hacker News

Lisp without parentheses: Lisp INdented

genyris.com

21–30 of 45 posts

Re: Lisp without parentheses: Lisp INdented

#23

Earlier quoted context omitted.

True, having a round trip to Lisp's standardized format might make this usable. I have to wonder how much of Ruby's success is owed to being unable to trivially share Python code with strangers without most of our tools shredding the whitespace.

That's one of my pet peeves with python. Even sites like the django documentation suffer from this, cut&paste simply does not work in the python world and it is much poorer because of that. It also can make debugging such a problem hell because you have to completely grok the code in order to spot the fact that the last line of a code block has somehow mysteriously jumped left 4 spaces. And it makes refactoring code…

cut&paste simply does not work in the python world and it is much poorer because of that.

I think that might have made it much better!

http://perldesignpatterns.com/?CutAndPasteProgramming

Re: Lisp without parentheses: Lisp INdented

#24
Am i the only one who likes lisp because of the parenthesis and the lack of syntax? The parens are the perfect way of representing the syntax trees, and you dont have to be bothered with remembering all the syntax and operators etc like with the other languages.

Re: Lisp without parentheses: Lisp INdented

#25

Earlier quoted context omitted.

That's one of my pet peeves with python. Even sites like the django documentation suffer from this, cut&paste simply does not work in the python world and it is much poorer because of that. It also can make debugging such a problem hell because you have to completely grok the code in order to spot the fact that the last line of a code block has somehow mysteriously jumped left 4 spaces. And it makes refactoring code…

cut&paste simply does not work in the python world and it is much poorer because of that. I think that might have made it much better ! http://perldesignpatterns.com/?CutAndPasteProgramming

There are other uses for cut/paste besides CutAndPasteProgramming; for example, one may want to post a snippet to a comment box that doesn't offer a preview function.

def foo(): if something: do_something_else print "bar"

What went wrong?

Re: Lisp without parentheses: Lisp INdented

#26

Earlier quoted context omitted.

Why are people up-voting this? This is a recipe for bugs.

Light gray, then ;-P Srsly, looking past the brackets is the least problem in reading lisp. The harder part is dealing with the lack of syntax, so you have to remember place structures instead of picking up hints from the punctuation. And in that regard, Pythonic indenting makes it harder .

Perhaps we should go the Haskell route instead of the Python one?

Re: Lisp without parentheses: Lisp INdented

#27

Earlier quoted context omitted.

That's one of my pet peeves with python. Even sites like the django documentation suffer from this, cut&paste simply does not work in the python world and it is much poorer because of that. It also can make debugging such a problem hell because you have to completely grok the code in order to spot the fact that the last line of a code block has somehow mysteriously jumped left 4 spaces. And it makes refactoring code…

cut&paste simply does not work in the python world and it is much poorer because of that. I think that might have made it much better ! http://perldesignpatterns.com/?CutAndPasteProgramming

Especially while learning a new language cut & paste is a pretty good way to get function definitions from the the tutorial into the interpreter.

Having to re-type a bunch of stuff that is already in a computer makes me feel like it is 1978 again.

Re: Lisp without parentheses: Lisp INdented

#28

Am i the only one who likes lisp because of the parenthesis and the lack of syntax? The parens are the perfect way of representing the syntax trees, and you dont have to be bothered with remembering all the syntax and operators etc like with the other languages.

Yes. But significant indentation does not destroy this lovely property.

Re: Lisp without parentheses: Lisp INdented

#30

Earlier quoted context omitted.

Why are people up-voting this? This is a recipe for bugs.

Light gray, then ;-P Srsly, looking past the brackets is the least problem in reading lisp. The harder part is dealing with the lack of syntax, so you have to remember place structures instead of picking up hints from the punctuation. And in that regard, Pythonic indenting makes it harder .

Some IDEs (Alegro CL, cusp eclipse) display the arguments for all known forms and functions.
Post reply on HN