Whoops you&#x27;ve got me there. Yes for that example, the grep alternative is not very elegant. Anyways I wasn&#x27;t making an argument against composition, just particular types of composition (such as useless use of cat, parsing ls, grepping ps) for which there are side-effects or there is a simpler or more appropriate alternative.