News for hackers. Stuff that matters.
Re:Things I've learned building a modern TUI framework by charcircuit on Thursday August 04, 2022 @03:21AM (#32340143)
I think you are being blinded by UNIXisms. If you want something that is chainable, scriptable, and reusable you want a library. You can build many different user interfaces over the same library. Unlike a CLI you don't have to serialize and deserialize into strings and doing error handling is much easier.
Re:Things I've learned building a modern TUI framework by badsectoracula on Thursday August 04, 2022 @05:17AM (#32340834)
A library limits you to the language it is written in, meanwhile a CLI program can be combined/chained with other CLI programs regardless of the language it is written - you can mix programs written in C, Java, C#, Haskell, Rust, Python, Go, etc without caring about these languages or even having their development tools/compilers installed just so you can tie them together.