6 ms·
There seems to be a very nice solution to the parenthesis problem: https://sourceforge.net/p/readable/wiki/Home/ https://sourceforge.net/p/readable/wiki/Home/
by bryanlarsen 9y ago
There seems to be a very nice solution to the parenthesis problem: https://sourceforge.net/p/readable/wiki/Home/ https://sourceforge.net/p/readable/wiki/Home/
I have no idea why it hasn't caught on. As far as I'm aware, there's no Clojure implementation. Lispers like their parentheses.
- protomyth 9y agoPerhaps because significant white space (e.g. Python) has quite a lot of detractors of its own.
- weaksauce 9y agoI absolutely cannot stand significant whitespace... it is a step back in almost every area of usability.
- throwaway7645 9y agoI love both Lisp & Python. I'm not sure about large projects, but to me, nothing is easier to read than Python and a lot of people agree. It is so strict and authoritarian that nearly everyone ends up writing similar code. Good for sharing scripts on my team. If I write Perl, only I can understand it...and even that is temporary lol (I joke, but you get the point).
- cutler 9y agoIf you love Lisp & Python try Hy (hylang.org).
- goatlover 9y agoIn your opinion. For you it's a step back. For some of us it's very easy to read and write.
- weaksauce 9y agoI don't really get this line of thought... are curly braces really that hard to read and get in the way of things to you?
- flavio81 9y agoWhy? I have done two major (commercial) software projects in Python, with a good amount of code, several months of work, and I've never had ANY kind of problem with the indentation/whitespace. Any Python IDE (like Pycharm) will easily highlight you where each section of code sits relative to the indentation level, so it's really pretty simple. Really, really simple.
- graphememes 9y agoThis is a much more approachable syntax, reads much like a mix of Ruby and Python
- dragonwriter 9y agoIt hasn't caught on is because for all the talk about parens, they aren't really a decisive barrier, just an easy thing to latch on to, and because S-expressions are more clear (note that more algol-inspired M-expressions were the original proposed programming syntax for Lisp, with S-expressions as an behind-the-scenes representation, but programmers preferred using S-expressions directly.)
- flavio81 9y ago(we) lispers LOVE our parentheses. "Elegant weapons... for a more civilized age." Ref: https://xkcd.com/297/ https://xkcd.com/297/
- bbcbasic 9y agoI love that particular xkcd I'm not even a lisper.
- gnaritas 9y ago> I have no idea why it hasn't caught on. Because there is no parenthesis problem; there's a newb problem. The people who complain about parenthesis haven't used a Lisp long enough, that's all. Parens are a feature, not a problem, and everyone eventually figures that out and stops complaining or they move on to a language more suited to them.