r/Clojure • • Sep 20 '20

Clojure-powered startup Roam Research raises $9M funding at a $200M valuation

Launched only last fall, Roam Research raised $9m at a $200m valuation.

The startup is already profitable.

The idea for Roam Research was rejected 5x by startup accelerator Y Combinator. But White-Sullivan kept grinding.

https://thehustle.co/09142020-roam-research/

Founder Conor White-Sullivan is a huge Clojure(script) fan:

Clojurescript is an EXCELLENT choice for consumer or SaaS internet startups. If you are starting a new company and can afford it, you should spend invest a few months in learning it first and building in it vs your normal stack, will pay huge dividends over time.

https://twitter.com/Conaw/status/1206304814344179712

89 Upvotes

26 comments sorted by

3

u/strranger101 Sep 20 '20

Really want to get into clojurescript but I haven't had the excuse to. I just wonder the productivity boost that so many people quote? I feel like I'd be learning two languages at once since I don't know vanilla JS so I'd actually have to learn some of that

2

u/notsohasty Sep 20 '20

I feel like I'd be learning two languages at once since I don't know vanilla JS so I'd actually have to learn some of that

I've been using Clojurescript to write some frontend apps with reagent/re-frame without knowing much javascript so it's definitely possible. It took me a few false starts but once things started to click it was an awesome feeling. Eric Normand's and Jacek Schae's reagent courses were a huge help.

The other thing that helped a lot was just firing up the re-frame-template and messing about with it. I previously kept getting stalled trying to read my way through the awesome-but-intimidatingly-long re-frame docs, but once I just started messing about with the template I found I could be productive pretty quickly.

12

u/robertstuttaford Sep 20 '20 edited Sep 21 '20

I meant every word of this: https://clojure.org/stories/cognician

Get your feet wet: http://clojurescriptkoans.com

Get inspired, and follow along: http://www.parens-of-the-dead.com

See a full stack app, with blog posts explaining how the code was written (I wrote this): https://github.com/robert-stuttaford/bridge

I would recommend a combination of VS Code + Calva + shadow-cljs if you're totally new to Lisp, as a way to start gently.

If you're a little hungrier, I'd replace VS Code + Calva with Emacs+CIDER. It's harder to learn but rock solid and you'll use what you learn for years to come.

Living Clojure by Carin Meier is a great practical guide for experienced programmers.

7

u/joinr Sep 20 '20 edited Sep 20 '20

My experience is that like 90% or more translates directly from clojure. The biggest change used to be dealing with tooling. I got in when figwheel and cljsbuild were getting popular. Now there are more options, and it looks like shadowcljs is very mature. So biggest change imo is different tooling and libraries in a different ecosystem.

6

u/pavelklavik Sep 20 '20

Tooling in not the hardest thing anymore, you can just choose Shadow-cljs which solves pretty much everything, there is user guide available and theller on Shadow-cljs channel of Clojurians slack is very active and able to help with problems.

The differences between Clojure and ClojureScript are rather small and one gets quickly used to it. The biggest difference is different interop and Shadow-cljs makes adding npm dependencies much easier. So I would not be worried about it.

The hardest part is knowing the entire browser ecosystem and the libraries build on top of it (e.g. React), similarly you need to understand JVM to code in Clojure. But this can be picked up over time, as you get more experience. And ClojureScript is certainly superior to anything else out there. I can't imagine coding anything like OrgPad.com in one person in 1.5 years without ClojureScript (we have about 25k lines in front-end right now).

3

u/the_frey Sep 20 '20

There's also quite a huge difference in how async behaviour works, to be fair. But largely speaking you're right, what you know in clj translates pretty cleanly into cljs.

-11

u/[deleted] Sep 20 '20

Its such a awful place to ask such a question. Of course you will lol, you will be 500,000% more productive!

But seriously, its ecosystem is very immature relative to other large languages like python, java or javascript who have thousands of times more people and companies working on it and actively investing into it. Also it seems to me that the code quality of most clojure projects is very poor, there are fundamentals of clean code the rest of the programming world has learned over the decades that seem to went entirely unnoticed or ignored by clojure and other lisps in general.

For example the lack of static typing is something very hard to sugarcoat in 2020.

In other words this is more a religious thing, you shouldn't ask these questions just take it with faith.

4

u/muhaaa Sep 20 '20 edited Sep 20 '20

I highly disagree. Clojure / Clojurescript leverages the Java / JavaScript host ecosystems. Thus you have for almost everything you need either a clojure or ecosystem library. Most clojure projects are written by experienced programmers. Code quality is high most of the times. Clojure uses data specification (clojure spec) instead of static typing. Data specification is more flexiable and adaptable, yielding less code.

2

u/TheLastSock Sep 20 '20 edited Sep 20 '20

Edit i toned back the aggression in my post so i don't distract other users.

if you want anyone here to dignify that with a respectful response you need to come with examples. Rich Hickey has written at length specifically countering every point you made.

2

u/dustingetz Sep 20 '20 edited Sep 20 '20

Rich seems to have missed 20 years of advances in applied category theory. Many of his arguments against types are in the context of Java. The Maybe Not talk was contentious and controversial. That said, Clojure uniquely has several great ideas –namespaced data, spec, Datomic – and the Datomic stack is best-in-class for large categories of information systems today.

1

u/TheLastSock Sep 20 '20 edited Sep 20 '20

I'm going to go out on a limb and suggest that you have thought *far* deeper into this issue then the person I'm responding to. I, unfortunately, skimmed their comment history and decided I didn't have the energy to craft a respectable response to someone I just wanted to show the door. I might have been triggered by some of there other comments.

Your input, however, I highly value.

As I dive deeper into category theory, I become less sure it's a useful mental model for the types of applications I have to build. Abstraction layers range from math (high) to physics (low). Category theory is trying to be the ceiling, but that doesn't mean it's a well-positioned tool to build things today. You simply cannot ignore the physics or the existing infrastructure if you want to make anything. E.g fault tolerance isn't outlet a mathematical principle, its a physics-based, there simply is no type system worth describing to communicate that all your servers are in the same building.

I recently watched this video on group theory

https://www.youtube.com/watch?v=mH0oCDa74tE&t=2s

And it struck me that trying to enumerate all the possible relationships (types) between things was analgoious _to_ writing the functionality directly. As in, how you choose to describe relationships is a user based choice.

Consider the model for flipping a tile presented in Algebra-Driven Design.

https://leanpub.com/algebra-driven-design

Tile -> Tile

if your type signature is the same as the identify function then i'm confused how we have gained anything substantial. The code, which deals directly with the implementation, which is all users will care about, is still potentially buggy.

The whole field, by ignoring physics, seems to drift away from probabilistic models: ML, AI, etc... Given how much of the most promising tech is now driven by that, do we really have a strong foundation to say it's the _only_ useful medium?

Is knowing category theory valuable? 100% yes. the same way its useful to know algebra, calc and your business domain is. I'm taking the next month or so to read through Algebra Driven Design, the little typer and the MIT class "Programming with categories". Let me know if you have any other good resources you think i should look at.

1

u/dustingetz Sep 21 '20 edited Sep 21 '20

Here is an example of CT-in-Scala reaching new levels of maturity: https://twitter.com/jdegoes/status/1307001870662205440

Pure functional Scala (and pure FP generally) is in a considerably more mature place than it was 10 years ago back in ~2010 when functional programming first started to become viable "at work". It was Clojure vs Scala back then and Scala was a total shitshow - 7 stdlib rewrites, stdlib type signatures that wouldn't fit in a tweet, insanely complicated build tooling scripted in hieroglyphics, autistic temper tantrums in issue trackers about type minutiae. Compared to all that, Simple Made Easy was a breath of fresh air for people like me who just wanted to get work done. But these problems are getting addressed and the Clojure perspective (rooted in 2005-2012) is showing its age to me.

I do see a path forward to unifying Clojure with the best ideas from pure FP and we are working on this stuff at Hyperfiddle. I remain a Clojure programmer, but I claim that while also rejecting the aging echo chamber dogma.

1

u/joinr Sep 22 '20

Clojure vs Scala back then

Only on the JVM. If Scala had been like F#, I may never have looked at Clojure.

-4

u/[deleted] Sep 20 '20

There's no productivity boost, a good JS developer will go around in circles over a mediocre CLJS dev. Focus on having strong fundamentals.

12

u/muhaaa Sep 20 '20

I have founded a SaaS in Clojure and ClojureScript. Fixing bugs versus adding features (code maintainance ratio) is much lower in clojure / clojurescript than in comparable java / javascript.

I believe Roam did some very smart marketing things to acquire customers in the early days. Being a young startup AND profitable is quiet an achievement!

1

u/stefan_kurcubic Sep 21 '20

Would u be able to share SaaS with us?

What was your biggest challenge from business and technical perspectives?

How did you structure your time in order to pay proper attention to business side and technical side?

These are not related to clojure i know but they kinda are, plus i am on the path that you already walked so i am trying to get as much info as possible :D

thank you for your time

3

u/muhaaa Sep 21 '20

https://equion.net/

The business side is getting marketing and sales up and running. Without having paying customers all you program is worth nothing. I would start on the business side and then work backwards to solve the technical problems one by one. Its amayzing how far you can get with manual work aka. "do things that do not scale".

The technical stuff is trivial. I have not even a real backend. The app is just a couchdb + re-frame web app on top. The biggest challenge is to understand the business processes of my customers and represent them in the web app. Whats important to them? What is their problem? Can they understand my solution?

+50% business the rest technical. Top priority is getting and keeping customers.

5

u/slifin Sep 20 '20

Roam definitely proved that EAVT databases open new categories of products

Graphs are super powerful and much more first-class in Clojure compared to most (all?) other languages

4

u/Michaelmrose Sep 20 '20

What is the benefit of roam research vs org-roam which is already pretty awesome, integrated with emacs, not reliant on a web browser or active connection, and not siloed in a services datacenter vs sitting on my own computer?

5

u/Richard_E Sep 21 '20 edited Sep 21 '20

I prefer org-roam too, however:

  • emacs is a barrier to entry for many people.

  • roam research is more open for collaboration and therefore would be good for teams

  • you've got to manage syncing to multiple computers in org-roam, while roam-research reaches anything that can run a browser.

1

u/Mishkun Sep 20 '20

Do you know why org-roam called roam?

1

u/Michaelmrose Sep 21 '20

Yes because its an attempt to implement the same work flow. None of that in any way tells me why I would pay for roam. I figured people like talking about things they like so someone may be able to offer an intelligent opinion on what roam research offers over the Emacs implementation of a similar workflow.

This is perfectly reasonable question to which you offered only sarcasm.

3

u/WhyYouLetRomneyWin Sep 20 '20

Nice!

It better be good for that price.

2

u/pavelklavik Sep 20 '20

From what I have seen, it didn't seem very well done, but they were very successful in building very fanatical followers for their product.