3 ms·
C style is profoundly less readable for someone who has taken to time to familiarize themselves with Lisp.
by pnathan 11y ago
C style is profoundly less readable for someone who has taken to time to familiarize themselves with Lisp.
- ZenoArrow 11y agoEven when you can't use a Lisp-friendly editor?
- pnathan 11y agoReally, all you need are highlighted matching parens, I can't think of a single programmer's editor that doesnt' do that.
- ZenoArrow 11y agoDo you get that when you're reading through online tutorials?
- pavelludiq 11y agohttps://github.com/orthecreedence/highlight-lisp https://github.com/orthecreedence/highlight-lisp provides paren matching on mouse hover, I find it annoying but I can see how it can be useful to some.
- oberstein 11y agoYou don't really need it when reading tutorials either. Rainbow, simple matching, or manually counting parens is very much helpful when you're editing code, not so much when you're reading, at least if the code follows standard formatting idioms. You really get used to it: http://www.loper-os.org/wp-content/parphobia.png http://www.loper-os.org/wp-content/parphobia.png I would even argue you don't even absolutely need matching despite its helpfulness since Lisp was done and is done on many primitive editors without such features including pen and paper. As a first order approximation, you have just as many parens (braces, brackets) as a C-like language, the opening one is just on the other side, and C too can be done just fine with primitive editors.