[Info-vax] Coding with/without RDBMS

Lawrence D’Oliveiro lawrencedo99 at gmail.com
Fri Oct 15 20:10:22 EDT 2021


On Saturday, October 16, 2021 at 7:44:50 AM UTC+13, Dave Froble wrote:
> ... wonder what it's like to read code in column 382?

While the human reader does best with short text lines (which is why newspapers have so many columns), I find highly-indented program source lines not so hard to read. First of all they’re not that long, once you skip past the initial whitespace.

Also you can take advantage of the two dimensions of the screen/page to make the structure of expressions clearer, e.g.

    if (
            max_linelen != None
        and
                    indent
                +
                    len(tag_name)
                +
                    sum((len(s) + 1) for s in attrs)
                +
                    2
                +
                    int(has_elts)
            >
                max_linelen
    ) :
        ...


More information about the Info-vax mailing list