Loading video...

Video Failed to Load

Go Home

Boris Cherny (Creator of Claude Code): "The one technical book I would recommend to everyone that has had the greatest impact on me as an engineer is functional programming in Scala. You're probably never going to use Scala day today, but the way it teaches you to think about...

365,575 views • 5 months ago •via X (Twitter)

33 Comments

Yury Liavitski's profile picture
Yury Liavitski5 months ago

Are we having the Red Book renaissance?

lossybrain's profile picture
lossybrain5 months ago

This reminded me of being back in university when my chem prof said: carry the units through in the math. If the units are right, your answer is probably right. Same thing goes with types in programming: if the type works out, the code is usually right.

Hemanta Sundaray's profile picture
Hemanta Sundaray5 months ago

This book really helped me understand the core concepts of functional programming when I was struggling with Effect.ts. Highly recommend. Even just asking Claude to summarise the chapters and understanding the high level ideas is enough.

Conor Svensson's profile picture
Conor Svensson5 months ago

That book was brilliant. It's a book that pushes you to really understand the functional programming paradigm. This helps you grow significantly as a developer. A similar book is Haskell from First Principles.

Richie Caputo's profile picture
Richie Caputo5 months ago

>You're probably never going to use Scala day today Scala 3 has never been better. Strongly typed, difficult to represent invalid states, interop with java and javascript. Great for agent harnesses and coding with agents.

Luke Morton's profile picture
Luke Morton5 months ago

💯 Scala converted me to functional programming and eventually Clojure without ever shipping anything in Scala… Never got that much further than playing around with hello worlds. And yet learning about its pattern matching, lambdas, monads, etc. expanded my mind immensely.

Jason's profile picture
Jason5 months ago

Ah my favorite and the course by Martin Odersky was fantastic. I don’t think engineers are up for it these days.

Raimo Tuisku's profile picture
Raimo Tuisku5 months ago

There’s ineherent benefit in defining inputs and outputs precisely. Reading the function code becomes only necessary when figuring out implementation detail and now the function name can often be just a verb. This is true of Scala and also other strongly typed languages. LLMs also use less tokens when writing code like this, and it’s faster for humans to see intent in Claude Code or equivalent CLI agent outputs.

Bob The Builder's profile picture
Bob The Builder5 months ago

That book is rough lol

Bruno Berisso's profile picture
Bruno Berisso5 months ago

Shout out to @unisonweb The amazing language created by the authors of that book

echantech's profile picture
echantech5 months ago

How is it different than learning by using RxJava? It seems to cover the same ground but the book is a more “academic” proof?

Bluelight's profile picture
Bluelight5 months ago

@runarorama

rkyymmtᯅ's profile picture
rkyymmtᯅ5 months ago

和訳本としては、こちらになります。 Scala関数型デザイン&プログラミング

Lauren Ipsum's profile picture
Lauren Ipsum5 months ago

How could type signature be more important than the actual code ?

Sotiri Georgiou's profile picture
Sotiri Georgiou5 months ago

@kostyafarber_

AI Mastery Guide's profile picture
AI Mastery Guide5 months ago

Types over implementation every time. More people need to hear this.

BlanPlan's profile picture
BlanPlan5 months ago

The irony is that functional thinking is exactly what makes AI-generated code survivable. Type signatures are prompts for compilers. Every developer who thinks in types ships less AI slop — Boris's recommendation is functionally prophecy, not nostalgia.

CauteleCalculee's profile picture
CauteleCalculee5 months ago

This reminds me of an old interview of Java creator about his biggest regret. He said going full object with String instead of staying with… string.

Dustin Currie's profile picture
Dustin Currie5 months ago

Scala is the reason we still can't edit tweets.

matthias's profile picture
matthias5 months ago

Just learn rust

Hive's profile picture
Hive5 months ago

Hive analyzed this post using Hive's AI / Deepfake detection models. "@hive_ai is this AI generated" to check any content! AI Generated Video: 4% AI Generated Speech: 0% AI Generated Music: 0% Deepfake: 0%

zarinjo's profile picture
zarinjo5 months ago

I really like that book!

Seun Osewa 🇳🇬's profile picture
Seun Osewa 🇳🇬5 months ago

Scala is one of the best languages I've ever used. So thoughtfully designed. It just made a lot of sense. The excessive focus on immutability at the expense of performance, and complex typing at the expense of compilation speed, prevented them from being used for Android, etc.

techarena.au's profile picture
techarena.au5 months ago

Spot on, big fan of that book, it seriously rewired how I think about composing code even though I hardly touch Scala day to day.

Balumba's profile picture
Balumba5 months ago

But wasn’t code solved lmao

Anand Butani's profile picture
Anand Butani5 months ago

yes..Code is not the core object...structure is

money_in_stereo's profile picture
money_in_stereo5 months ago

@grok what does Boris mean by type signatures being the most important thing? Explain the how and the why to a non-engineer

Dot dot dit dit dot dot dash's profile picture
Dot dot dit dit dot dot dash5 months ago

Loved working through the book, even though it seemed incomplete in parts. But wish someone would re-write in another language.

Scott's Treehouse's profile picture
Scott's Treehouse5 months ago

I think anything in life that makes you think deeply about logic and first principles would have same impact. That includes philosophy. Human = "I think, therefore I am" AI = "I am" When you really think about it, peak AI + tech is basically entity no different than God but everyone now carries it in their pockets

Graham Hay's profile picture
Graham Hay5 months ago

i part completed the “Functional Programming Principles in Scala" course by Martin Odersky decided part way through there would not be enough work in it. Very elegant and concise language

Ïvas #ArmUkraineNow🌻's profile picture
Ïvas #ArmUkraineNow🌻5 months ago

Scala 3. Awesome, just awesome.

Ryan Jerue 🧘🏻‍♂️'s profile picture
Ryan Jerue 🧘🏻‍♂️5 months ago

This and Odersky’s scala books are actually my bibles

Tris's profile picture
Tris5 months ago

Sure do this while Anthropic wipes out your product next week using typescript :)

Related Videos