2026/02/26

From Woozle Writes Code
Jump to navigation Jump to search
Thursday, February 26, 2026 (#57)
Wednesday Thursday Friday posts:prev <this> next

Change Notes I

  • It was necessary to implement CmdLine::WithArray(), but WithString() was only out of a sense of "in case this is needed, implement it now because I have in mind how it's supposed to work" as well as just symmetry. It's not (yet?) being used.
  • Why did I even write Exporter? Most of the infra is just handling information transfer from the Schema object. I think I'll try porting the actual bits of code (4 lines, maybe?) back into Schema. DONE: Exporter removed.

Thinking

Convey was written for the purpose of copying one stream over to another (like stream_copy_to_stream() except with progress updates). Are there times when we want to do that while also checking for responses from the target (typically a process of some kind)? If so, then we need something more complex -- something that is aware of source-lecture, process-listen, process-lecture/errors, target-listen. Maybe we always want to check for process-lecturing, just in case, even when we're not expecting any?

Change Notes II

  • ConveyNow() opens $oSrce and $oDest directly so we don't have to assume OSrceStream() and ODestStream() have been set (or waste time/code setting them).