News for hackers. Stuff that matters.
Re:Apply Unix Principles to Write Testable Microservices by newaccoutnas on Friday April 12, 2019 @11:45AM (#19645830)
There's some irony in the example.

> ls -a | grep “gear”

Using 2 services to do the job of 1 (find)

Re:Apply Unix Principles to Write Testable Microservices by mbrumlow on Friday April 12, 2019 @11:55AM (#19645932)
I feel like you missed the point of the article. Programs like find where taking the functions of two (and more) smaller more finite subsystems and rolling them into one, more complicated system. That added complication assumes all the functionality you would ever need is baked in -- in this case it might be, but this was just a example to start out with.

$ man find | wc -l 1020

$ man ls | wc -l 207

$ man grep | wc -l 400