[HN Gopher] Electric Y Combinator - Electric Clojure
       ___________________________________________________________________
        
       Electric Y Combinator - Electric Clojure
        
       Author : albertzak
       Score  : 40 points
       Date   : 2023-07-24 19:37 UTC (3 hours ago)
        
 (HTM) web link (dustingetz.electricfiddle.net)
 (TXT) w3m dump (dustingetz.electricfiddle.net)
        
       | [deleted]
        
       | Capricorn2481 wrote:
       | Is this production ready?
       | 
       | From what I understand, this allows people to arbitrarily decide
       | which portions of their DOM get's run in the client or in the
       | server? Essentially allowing us to make SSR pages with client
       | side code sprinkled in, wherever we want. If so, this seems like
       | a really big deal for Clojure world.
        
         | koito17 wrote:
         | > Is this production ready?
         | 
         | It's been worked on for several years AFAICT. It's only very
         | recently that it got a public release, but it was built
         | specifically for use in Hyperfiddle, the company of Dustin Getz
         | (also the same person who developed Electric Clojure).
         | 
         | I am not sure what is a good way to determine whether something
         | is production ready, but I know its developers have been
         | dogfooding it for a while now. The only real problem I see is
         | lack of other companies adopting it leading to nobody else
         | wanting to try adopting it. The other big problem is that it's
         | hard selling people Clojure either because it is a niche
         | language or the parentheses scares people away.*
         | 
         | * Note I use Clojure in my day job. I do not think either of
         | these two points are a valid excuse to not use Clojure, but
         | they are the most common excuses I see.
        
           | dustingetz wrote:
           | electric has been a team effort, developed primarily by
           | Geoffrey, Peter and especially Leo of
           | https://github.com/leonoel/missionary who is the lead
           | developer.
           | 
           | the thing predating Electric is in prod at a series B
           | startup, a series A startup is going live with a prod support
           | app in a few weeks, and a seed stage startup is planning a
           | rewrite of a consumer facing productivity tool onto electric
           | after serious evaluation. Plus many serious POCs i've seen
           | maybe 2-3 dozen repos this summer. (we only see them when
           | they have a question)
        
       | thih9 wrote:
       | Impressive! Also, I enjoyed the demo, especially interactivity
       | and source code.
       | 
       | One question: what are the front end options with Electric? E.g.
       | can I use electric together with some front end framework
       | (React/jQuery/anything)? Or should I stick to writing front end
       | components using electric?
        
         | koito17 wrote:
         | You can use React with Electric if you want, though it is not
         | really necessary because Electric already has fine-grained
         | reactivity and can save you from the usual headaches with
         | server-side React. With that said, people have used Reagent in
         | Electric before. In fact, the Electric Clojure tutorial has a
         | tutorial on Reagent interop[1].
         | 
         | [1] https://electric-examples-app.fly.dev/user.demo-reagent-
         | inte...
        
       | yayitswei wrote:
       | In case anyone is reading the comments before the article, Y
       | Combinator is referring to the Fixed Point Combinator
       | (https://en.wikipedia.org/wiki/Fixed-point_combinator), not the
       | startup accelerator.
        
       ___________________________________________________________________
       (page generated 2023-07-24 23:00 UTC)