4 ms·
They are disturbing only people who don't program with Lisp a lot. Which is about 99.9% of the population. It's good for Lispers that they can ignore braces, b
by singularity2001 7y ago
They are disturbing only people who don't program with Lisp a lot.
Which is about 99.9% of the population. It's good for Lispers that they can ignore braces, but why ignore them when you can just drop them (in many cases), and thereby increase it's chance of mass adaptation.
BTW, this post was an outcrop of another article "Why Lisp Failed (2010)" https://news.ycombinator.com/item?id=20374782 https://news.ycombinator.com/item?id=20374782
- breck 7y ago> Which is about 99.9% of the population. Agreed! For decades some people have said parens in S-Expressions are useless. But a key thing we're pushing, that's never been pushed before, is that the parens are worse than useless--they are harmful! They prevent easier program concatenation and ad hoc parser writing. And they make program synthesis, visual programming, and code analysis ~10x harder, for next to no gain. I'm hoping we'll start to turn the tide and bring the 99.9% of the population into the Tree Notation world, and those LISPers that love their parens can remain happily in their (world).
- dreamcompiler 7y ago> But a key thing we're pushing, that's never been pushed before, is that the parens are worse than useless--they are harmful! They prevent easier program concatenation and ad hoc parser writing. And they make program synthesis, visual programming, and code analysis ~10x harder, for next to no gain. Almost everything you've said above is not just untrue, but the opposite of the truth. As such, your statements require supporting evidence. Please cite some. And who, by the way, is "we"?
- breck 7y agoThere is a lot of evidence in the GitHub. See JTree library and the ohayo data vis tool. There is also a big open source release coming soon—the largest database of programming languages and features in the world by a factor of at least 10x, more like 100x. Over 10k languages, over 1k columns. We is the Tree Notation Lab. Will be announcing what that is and the funding for it later this month.
- geezerjay 7y ago> They prevent easier program concatenation and ad hoc parser writing. This assertion is patently false. Parens make it quite trivial to parse and render the underlying tree structuee rather obvious. Concatenating programs is just a matter of splicing a subtree into the target tree.
- breck 7y ago> This assertion is patently false. Here's a proof. - In S-Expressions with parens, there are infinite ways to write any given abstract syntax tree. - In Tree Notation, there is only 1 way to write any given abstract syntax tree. If you change one letter, you get a different tree. - Say I wrote programs in a Tree Language with a root node called "dumpToConsole" and I want to rename all such nodes to "print". I can write a type-safe ad hoc parser that does a simple search replace "/\ndumpToConsole/print/", using Tree Notation. If it were in S-Expressions, I'd have to use a full parser.
- nabla9 7y agoThere is Ruby and it's popular. Apple did it with Dylan in 1992, it didn't become popular. There is no need to change Lisp into different language because they already exist. Trying to get people who don't want to learn Lisp to learn Lisp is pointless.