17 Jan 2022 17 Jan '22
On Mon, Jan 17, 2022 at 03:27:33PM -0500, David Mertz, Ph.D. wrote:
Here's a better idea: Use parens for all the levels of nesting, as currently, but convince your editor to substitute various other bracket-ish things for levels of nesting.
This is approximately what I do, except that I use color to match bracket pairs (with a system commonly called "rainbow parentheses", though there are various implementations for various editors and these can do more than just parentheses). It is very easy to determine which brackets match where.