3 ms·
I stopped reading at "rather than thinking of services and input as a stream of text", horrified. Why would we do that ? KISS !
by lta 5y ago
I stopped reading at "rather than thinking of services and input as a stream of text", horrified. Why would we do that ? KISS !
- heinrichhartman 5y agoBy the same reasoning: Would you not use databases because they have a schema? or JSON...? Heck, even utf-8 could be too complicated.
- lta 5y agoYou have a point. That sounded like pure conservatism, and to some extent it is. But still, text is simple and that what makes shell powerful, trying to move to higher level abstraction is has a chance to create fragmentation and break the solid foundations on which Unix is built.
- jbverschoor 5y agoBecause parsing text is shit. Good luck AWK'ing everything. Datastreams are simple.
- lta 5y agoIt's often better than trying to figure out the weird formats all the tool would use otherwise
- jbverschoor 5y agoSo start outputting something like json. And render it in the console as an ascii table