News for hackers. Stuff that matters.
Re:Clojure: Genetic Mona Lisa problem in 250 beautiful lines by biohacker42 on Monday January 26, 2009 @04:17PM (#451044)
As python is beautiful, lisp is parenthesis-y.

Has anyone thought about a Lisp dialect that uses white space, like Python, to get rid of the ()?

Re:Clojure: Genetic Mona Lisa problem in 250 beautiful lines by rincewind on Monday January 26, 2009 @04:40PM (#451093)
Re:Clojure: Genetic Mona Lisa problem in 250 beautiful lines by dimitar on Monday January 26, 2009 @04:23PM (#451057)
Why don't you make your editor to paint them white and indent them?
Re:Clojure: Genetic Mona Lisa problem in 250 beautiful lines by nihilocrat on Monday January 26, 2009 @04:53PM (#451109)
Make an editor which will randomly color-code each set of parentheses such that they or their background is in a set of colors which don't appear as other keywords (like function defs or strings or whatever) so as not to add confusion. You now have a way of more easily seeing every matching pair of parens without having to hover over each one. However, now you have to deal with a strange assortment of colors on your screen.

Oh wait, you can just use a gradient of colors instead of random ones, with the more-nested paren pairs having colors farther in on the gradient. Silly me.

Re:Clojure: Genetic Mona Lisa problem in 250 beautiful lines by riobard on Tuesday January 27, 2009 @06:50AM (#451982)
"Oh wait, you can just use a gradient of colors instead of random ones, with the more-nested paren pairs having colors farther in on the gradient. Silly me."

Good idea! Is it doable in VIM now? :|

Re:Clojure: Genetic Mona Lisa problem in 250 beautiful lines by icey on Monday January 26, 2009 @04:21PM (#451051)
Some of us prefer the parens.
Re:Clojure: Genetic Mona Lisa problem in 250 beautiful lines by jcl on Tuesday January 27, 2009 @10:54AM (#452252)
"Logo is a computer programming language used for functional programming. It is an easier-to-read adaptation and dialect of the Lisp language; some have called it Lisp without the parentheses."

http://en.wikipedia.org/wiki/Logo_programming_language

Re:Clojure: Genetic Mona Lisa problem in 250 beautiful lines by ramchip on Monday January 26, 2009 @06:42PM (#451284)
Parens let you have multiple expressions in one line, which indentation alone could not really express (except perhaps in a Haskell-like with currying, . and $ operators, etc).

For example, I don't see how (map (fn [x] (+ x 2)) (concat (take 5 my-series) etc...)) could be broken down with indentation alone without taking quite a few extra lines.

Re:Clojure: Genetic Mona Lisa problem in 250 beautiful lines by paulgb on Tuesday January 27, 2009 @12:10AM (#451689)
Dylan removes the parenthesis, but it doesn't go as far as using whitespace.

http://en.wikipedia.org/wiki/Dylan_programming_language

Re:Clojure: Genetic Mona Lisa problem in 250 beautiful lines by newt0311 on Monday January 26, 2009 @05:22PM (#451176)
See I-expressions.