4 ms·
To me it's a similar principle to REPL-based development: you compose or chain tools, testing each tool (or deciding between tools) at each step. As with most
by blunte 8y ago
To me it's a similar principle to REPL-based development: you compose or chain tools, testing each tool (or deciding between tools) at each step.
As with most programming, there are usually many ways to solve a problem. Sometimes the different approaches are equally good, but sometimes the approaches are more or less ideal given the constraints.
There's no real magic, and it's really not difficult. To me, problem solving like this, and ending up with a "script" (just a chain of piped commands with some args) is often the easiest way to solve problems.
- busterarm 8y agoI tend to agree here, as someone who is both command line wizard and REPL-based developer. In fact, the majority of my Ruby scripts for systems work are combinations of the language and %x'd unix commands. I find it's incredibly powerful.