3 ms·
(Author here.) A whistlestop tour of the technique "insert a lightweight API boundary down the middle of a tool, for fun and profit". It leads you towards a st
by Smaug123 5y ago
(Author here.)
A whistlestop tour of the technique "insert a lightweight API boundary down the middle of a tool, for fun and profit". It leads you towards a structure that has lots of benefits, such as meaningful `--dry-run` output and more ready librarification.
- tasogare 5y agoNice to see F# in posts from time to time. I might try the technic in the future.
- b3morales 5y agoThis was a great read! It's not material to the point, but I think there's a small typo on line 12 of the second "Finishing the example" snippet: it looks like let instructions = gather args should be let instructions = gather inputGlobs
- Smaug123 5y agoThanks! You're quite right; thanks for letting me know. I'll get that fixed.