r/Clojure • • Apr 17 '16

The State of Clojure Web Development

http://yogthos.net/posts/2016-04-17-state-of-web-clj-dev.html
74 Upvotes

51 comments sorted by

View all comments

30

u/tolitius Apr 17 '16 edited Apr 17 '16

Creating a new web framework is fun.

Another approach is to talk to all the existing successful web frameworks / libraries creators, contributors and share the problems, see how they can be better solved together, potentially without starting a new thing from scratch, but ending up contributing to the existing ones. Yes it is a lot more selfless and it is less fun and a harder approach, but this is what community is about.

X "elite" developers doing a project and telling everyone it's good.. is not Clojure's way, but Scala's, unless Typesafe/Lightbend is where Cognitect gets the inspiration.

I am sure Luke is really good, and is able to pull it off: "to create a web framework". I still prefer libraries over frameworks, but I know the feeling: "I already know so much, I've done so many various projects, I can definitely write a web framework that will cover all the problems I'be been solving for many years". The problem is, this kind of thinking is a mind trap. The same trap that people will end up in after deciding to use Arachne for something more than a CRUD pet store. If Luke was creating a new language, a new library, a new OS, it would be a different story, but a framework.. What happened to this tweet by the way?

It is interesting how different things created by Cognitect (or its people) and pushed as "the stack" are from things officially created by Rich Hickey. I am not sure who helps whom there but compare these two lines of creations:

  • Rich: Clojure, ClojureScript, Datomic, core.async, transit, transducers, etc.

  • Cognitect: Pedestal, Om, Component, etc.

The difference is: languages and libraries vs. frameworks. And as creations go: "Simple" vs. "No So Much" by the way.

Also let's not forget that we are a very small community compare to Java, Ruby, C++, Python, or even Scala. We are a great community, but the real white elephant in the room is that nobody really knows we exist. By nobody I mean people who make budget decisions. I've been doing technical consulting for a dozen of years now, and so far 99.9999% of the time people with the money simply don't know what Clojure is.

I really doubt that the problem is that we need yet another web framework, because "Luke had it enough with small libraries". I would definitely contribute to a kickstarter if Luke said: "ok, I have this mega idea, and within a year, I am going to make Clojure (at least) as confidence inspiring as Scala for people with budgets."

Yes, "if we make a web framework that would explode the programming world as Rails did, everybody will know us...", but Rails was revolutionary in 2005, today is 2016. We need marketing, we need ideas beyond web frameworks, we need to create, talk and lead together, with, and many times without "people who work with Rich Hickey" company.

Having said that, I am not against Luke's new path, it's his personal passion, it will be fun. I am sure he'll hit $35K. LightTable did ten times that, so a "web framework" have all the chances. I just think it is important to not just be polite and supportive but also to express the true emotion. We are the people :)

5

u/levand Apr 19 '16

It's fun, and I hope it'll be useful too.

You're right - Rails was revolutionary a decade ago. If I do something on par with that, it won't have the same effect.

But viewed another way... what if having a decent web framework is table stakes for a language these days? I honestly don't think we have that yet. Luminus is great, but it doesn't fill the same slot as a Rails or a Django.

And I think Arachne can bring some interesting ideas to the table. I don't want to just clone Rails, I want to build something in Clojure, and extend Clojure's core philosophies of simplicity, applying them to the problem of making development easy, clear and fast.

We'll see how it goes.

3

u/tolitius Apr 19 '16

hey, as I said, I am sure you are quite capable and I only wish you all the best in building Arachne.

what if having a decent web framework is table stakes for a language these days?

sure, I could be wrong and not seeing it this way. and if I am, I hope Arachne can bring Clojure to the next level. Would be interesting to prove Paul wrong as well:

"If I had ever seen a job posting looking for Lisp hackers, I would have been really worried." :)

of course all these initial reactions are more emotions and guesses, since we have not seen ideas behind Arachne, so let's wait and see. if it is really good, we all win.

I would not use it because it is based on Component, and it does not seem to be pluggable from your plan, but it's just me, there are many more who are "more loyal to it", and there are also potential newcomers who might not care.. at first..

4

u/levand Apr 19 '16

Well, check it out, when it's ready. I think I've managed to pull it off such that, even though it's Component based, you'll never have to read or write any code that looks like Component, as a user. That layer is encapsulated in the Module framework - only module authors need to get involved at that level.

2

u/tolitius Apr 19 '16

sounds good, good luck!