Re:It's time to get the Posix elephant off our necks
by quanticle on Thursday February 23, 2023 @02:25PM
(#34915146)
If you have a number of programs, each of which does one thing and does it well, those programs will need to exchange data between themselves in order for the overall system to be useful to the user. To go back to the `ls` example I used in my post above: `ls` should just list files. Why should `ls` have anything to do with sorting, when `sort` exists? The reason, as it stands right now, is that `ls`'s plain text output is too much of a pain to parse, and so it's more convenient to build sorting into `ls` itself. If you start with "do one thing and do it well", but ignore interoperability, then your program will inevitably grow additional options and subcommands until it does one thing well, and quite a lot of things mediocrely. Instead of a collection of small sharp specialized tools, you'll end up with, e.g. `find`.
[ Parent
| on HN ]
Re:It's time to get the Posix elephant off our necks
by deafpolygon on Thursday February 23, 2023 @02:55PM
(#34915573)
One thing well, can also be seen as listing directories in many different ways.