TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

From Clojure to Ruby

4 pointsby olieidelalmost 3 years ago

1 comment

jacobobryantalmost 3 years ago
&gt; Like, there isn’t a full-blown web framework in Clojure - because that would require the web framework developers to make a whole lot of decisions, and Clojure library people prefer not to impose their decisions on their fellow developers. [...] &gt; &gt; Getting stuff done will require decisions to be made, and those come with trade-offs. Like, if you want to enable your users to build a web app, you’ll have to choose the routing library beforehand. You’ll also decide on how to serve static files, how to handle HTML templates, and to serve JSON on your API. &gt; &gt; Clojure people would protest. This is tightly coupled! Too opinionated! Too much magic!<p>I too ran into the lack-of-a-web-framework problem, so I ended up building one[1]. When I started, I also thought there would be idealogical opposition and I&#x27;d have to convince people that frameworks can be good. But in fact there have been a lot of positive reactions (including funding!), and I honestly can&#x27;t think of a single time when someone said something to the effect of &quot;but frameworks are bad!&quot; (maybe if you searched r&#x2F;clojure you could find something).<p>Based on that, I think the reason there isn&#x27;t a widely used Ruby-on-Rails equivalent is simply because no one&#x27;s put in the work yet to make it happen (though I am trying to!). I think it&#x27;s likely that a lot of the people in the Clojure community historically just haven&#x27;t needed a Rails-like framework, either because they prefer piecing it together themselves or because they&#x27;ve been working in domains that don&#x27;t involve spinning up new web apps very often.<p>[1] <a href="https:&#x2F;&#x2F;biffweb.com" rel="nofollow">https:&#x2F;&#x2F;biffweb.com</a>
评论 #31741704 未加载