3 ms·
> parenthesis-ophobes are going to react very poorly to the libgit2 extended example ending in four closing parenthesis I think parenthesis-phobia is a red her
by chriswarbo 8y ago
> parenthesis-ophobes are going to react very poorly to the libgit2 extended example ending in four closing parenthesis
I think parenthesis-phobia is a red herring. The delimiter bytes in s-expressions denote structure, and most s-expression users are happy to render them as parentheses glyphs. Those who aren't are welcome to use one of the myriad preprocessors/renderers which display this structure in other ways, e.g.
https://srfi.schemers.org/srfi-119/srfi-119.html#Implementation https://srfi.schemers.org/srfi-119/srfi-119.html#Implementat... (converts back and forth to indentation)
https://srfi.schemers.org/srfi-110/srfi-110.html#reference-implementation https://srfi.schemers.org/srfi-110/srfi-110.html#reference-i... (converts back and forth to indentation)
https://srfi.schemers.org/srfi-49/srfi-49.html#Implementation https://srfi.schemers.org/srfi-49/srfi-49.html#Implementatio... (converts back and forth to indentation)
https://sourceforge.net/p/readable/code/ci/develop/tree/src/sweeten.sscm https://sourceforge.net/p/readable/code/ci/develop/tree/src/... (converts to indentation; an 'unsweeten.sscm' script converts the other way)
https://github.com/mjsottile/sfsexp/blob/master/src/sexp_vis.c https://github.com/mjsottile/sfsexp/blob/master/src/sexp_vis... (converts to a graphviz tree diagram)
http://www.foldr.org/~michaelw/emacs/mwe-color-box.el http://www.foldr.org/~michaelw/emacs/mwe-color-box.el (shows tree structure using nested boxes of different colours)
The fact that such tools aren't widely used shows that parentheses aren't a/the problem.