|
|
Log in / Subscribe / Register

One and a half colors

One and a half colors

Posted Dec 2, 2025 20:09 UTC (Tue) by quotemstr (subscriber, #45331)
In reply to: One and a half colors by smurf
Parent article: Zig's new plan for asynchronous programs

I'd actually people carry an IO object around. The ambient nature of IO makes doing things like shimming the outside world for testing annoying. Programs are better overall when you give a component an explicit pass from above capability for anything you'd like it to do.


to post comments


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds