On Sun, 22 Nov 2026 06:02:39 -0400, Maria Sophia wrote:
> There's a lot to unpack there on the "intuition", as you may not
> know I learned how to code in the 1970's on Fortran IV, IBM
> Assembly, COBOL, PL/I, etc., where, over time, I evolved to hate
> coding with a passion because every damn language does the same
> exact thing (more or less), in the end, but with frustratingly
> irrationally different syntax requirements.
>
> ...
>
> But I see that instead of writing cur = conn.cursor(),
> cur.execute(...), and cur.fetchall() in every query function, your
> suggestion allows us to create a cursor, run a cmd with bound
> values, and yield rows one at a time as a generator instead of
> loading everything into a list up front, where mapfn lets us
> optionally transform each row on the fly to pull a single column.
You see why all languages are not the same. The concept of what is
“high-level” has progressed somewhat since the 1970s.