Fork me on GitHub
#vim
<
2017-04-23
>
dominicm09:04:02

Currently rewriting lein-bikeshed. Almost at a point where it can work on stdin, which is awesome 🙂

dominicm09:04:26

It's interesting how different use cases (and opinions about api design) completely change the way you design a library.

dominicm09:04:50

It's fine for lein-bikeshed to work how it does because: - It runs in it's own JVM so has a snapshot of "state" - It's output format is only for human reading - Only used from lein position Throw a REPL at it and now you want to: - Finely control the files it lints - Use a standard formatting output that is easy for tooling to read - Potentially pass in a string to lint instead of using the current state of the repl

dominicm09:04:59

Even my refactor falls over somewhat if you want to have different output formats.