<story><title>Clojure builds as an amalgamation of orthogonal parts</title><url>http://blog.fogus.me/2021/07/20/clojure-builds-as-an-amalgamation-of-orthogonal-parts/</url></story><parent_chain></parent_chain><comment><author>geokon</author><text>It&amp;#x27;s nice to have complex build&amp;#x2F;test setups with deep directory structures, I&amp;#x27;m really happy this stuff exists and is being enhanced, but the flexibility kinda adds a barrier to getting started. It&amp;#x27;s also important to be able to just drop into a REPL, load some libraries and go.&lt;p&gt;I think the coolest thing in the pipeline is going to be `add-libs`: &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;insideclojure.org&amp;#x2F;2018&amp;#x2F;05&amp;#x2F;04&amp;#x2F;add-lib&amp;#x2F;&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;insideclojure.org&amp;#x2F;2018&amp;#x2F;05&amp;#x2F;04&amp;#x2F;add-lib&amp;#x2F;&lt;/a&gt;&lt;p&gt;I made a little orgmode literate demo that is selfcontained (no deps.edn) and even produces some inline SVG &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;geokon-gh.github.io&amp;#x2F;literate-clojure.html&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;geokon-gh.github.io&amp;#x2F;literate-clojure.html&lt;/a&gt;&lt;p&gt;I hope this gets added into `core` and single file Clojure programs become a norm. Right now you still need to add tools.deps.alpha into your default user deps.ends for things to work. If this stuff gets into core you could finally send someone a file&amp;#x2F;gist and they could run it directly. I think that&amp;#x27;d really improve the Clojure ecosystem. You can imagine sharing one-file issues&amp;#x2F;demos&amp;#x2F;examples and people don&amp;#x27;t need to reproduce your local setup or clone a whole repo</text></comment>
<story><title>Clojure builds as an amalgamation of orthogonal parts</title><url>http://blog.fogus.me/2021/07/20/clojure-builds-as-an-amalgamation-of-orthogonal-parts/</url></story><parent_chain></parent_chain><comment><author>fungiblecog</author><text>What all the critics miss is that Lein is &amp;quot;Easy&amp;quot; but tools.deps, tools.build are &amp;quot;Simple&amp;quot;. Rich wants all of clojure to be built from simple orthogonal parts that compose together. Ideally a multi-purpose tool like leiningen should be built on top of those simple parts. Other tools can re-use those parts in different ways. With Leiningen - its a great tool but it&amp;#x27;s a complex thing that you take on an all-or-nothing basis.</text></comment>