News for hackers. Stuff that matters.
Re:Left to Right Programming by sgarland on Monday August 18, 2025 @05:02PM (#44945295)
> always creating an intermediary result-set

You want the DB to first run SELECT * FROM <table>, and then start operating on that?

Re:Left to Right Programming by kerkeslager on Monday August 18, 2025 @05:19PM (#44945456)
Obviously not, and bringing this up as if it's a gotcha just shows you aren't keeping up with the conversation. Try less to correct people and more to understand people.

It's about how humans think about it, not about how the computer executes it.

Re:Left to Right Programming by sgarland on Monday August 18, 2025 @05:29PM (#44945544)
How else do you read what they wrote?
Re:Left to Right Programming by eyelidlessness on Monday August 18, 2025 @06:07PM (#44945818)
I read it as describing their preferred mental model for declaring a result set, which is different from describing their preferred behavior to produce it. This seems clear to me in wording and context; it’s also broadly consistent with how SQL is understood, and how it is generally implemented.
Re:Left to Right Programming by dragonwriter on Monday August 18, 2025 @10:35PM (#44947681)
Presumably, the intermediate result sets would necessary be materialized, only logical.