r/functionalprogramming • • Jun 20 '25

Question Drop your favourite book about any topic in Computer Science / Programming

Hi, I am looking for your favourite/helpful books/blogs! Not the best, not the famous, but the one that help ya!

52 Upvotes

52 comments sorted by

20

u/sunnyata Jun 20 '25

Wm Burge, Recursive Programming Techniques. It's about functional programming with Lambda calculus, building all kinds of elegant abstractions from the most basic ideas. A really beautiful book and a classic exposition of Church encoding, that I found really exciting. Perhaps the most impressive thing about it is that the (entirely theoretical) syntax or "language" developed throughout the book looks just like Haskell but the book came out in 1975! It would be quite a while before the ideas in it could be implemented in anything like an efficient way. Well ahead of its time. When I was getting into Haskell 25 years ago or so I heard it mentioned as part of the prehistory, along with Miranda etc. It took me a while to find a copy but I was so glad I did.

2

u/kichiDsimp Jun 20 '25

this sounds like a gem!

4

u/OpsikionThemed Jun 20 '25

Oooh, that sounds neat. I'll look it up, thanks.

2

u/OpsikionThemed Jun 20 '25

Looking it up, the syntax looks very IYSWIM-y. Have you ever read Landin's papers, or Burstall's big structural induction one?

14

u/OpsikionThemed Jun 20 '25

Simon Peyton Jones, The Implementation of Functional Programming Languages. It's quite old now, but incredibly readable and once you've read it you're in a place to understand and appreciate more modern functional compilation techniques.

5

u/aurreco Jun 20 '25

In that same vein I would also recommend “Modern Compiler Implementation in ML” by Andrew Appel. It also goes over techniques for compiling functional language structures.

1

u/kichiDsimp Jul 06 '25

Unable to find this book... Isn't it free available, a book of 1990s ?!

3

u/OpsikionThemed Jun 20 '25

Also very good!

2

u/kichiDsimp Jun 20 '25

i tried to read a page, felt so toughQ!!

11

u/dauchande Jun 20 '25

The SICP book and accompanying lectures on YouTube. And I’m saying this having read only the first three chapters since it is so information dense.

2

u/kichiDsimp Jun 20 '25

Hi, what language you are using to solve the exercises ? And what Youtube lectures, mind sharing the link?

1

u/dauchande Jun 23 '25

I was doing it in scheme, just so I could get better at reading through all of the parentheses.

1

u/kichiDsimp Jun 23 '25

Scheme Mit is not there for OSX 🥲

4

u/[deleted] Jun 20 '25

[removed] — view removed comment

4

u/AustinVelonaut Jun 21 '25

In that vein, Queinnec's Lisp In Small Pieces is a great book covering the semantics, interpretation, and compilation of Lisp and Scheme.

2

u/jzd00d Jun 22 '25

This. Going cover to cover with the help of the instructor’s manual is an extraordinary experience. Beware nuances of your choice of scheme, though. Help can be found in using a modern scheme by looking at SICP solutions found on GitHub.

9

u/TalyssonOC Jun 20 '25

Domain-Driven Design, by Eric Evans. It made me question a lot of how I expressed concepts in code, how to map knowledge coming from the product team, and also "forced" to dig deeper in a lot of architecture-related themes.

3

u/kichiDsimp Jun 20 '25

Hm, I think would be helpful. because at my company the Product team holds a good deal of power in final decisions

8

u/gofl-zimbard-37 Jun 20 '25

Not exactly a book, but Fred Hebert's "The Zen Of Erlang" is a fascinating look at how Erlang (and by extension, Elixir and other BEAM languages) approaches fault tolerance. Well worth the read.

2

u/kichiDsimp Jun 20 '25

Hm, I have heard about fault tolerance but I don't know what exactly it and how it works. Why other langauges aren't ?!

4

u/gofl-zimbard-37 Jun 20 '25

Concurrency and fault tolerance are an afterthought at best in many languages. Just not a priority. In Erlang it is built into the BEAM virtual machine it all runs on. I've got an Erlang system that's been up and running, in daily use by security analysts, without a hiccough for over 2 decades now.

3

u/OpsikionThemed Jun 20 '25 edited Jun 20 '25

It's partly a language thing, partly a cultural thing (which presumably is why the talk is "The Zen of Erlang" rather than "The Erlang Standard Library Error-Handling Modules"). The same way how Rust has good tooling for unsafety but also has a culture around it that aggressively enforces well-understood best practices in the way that, say, C++ doesn't.

0

u/[deleted] Jun 20 '25

[deleted] — view deleted comment

2

u/kichiDsimp Jun 20 '25

I gotta take look at actor-based system, and other approaches. there are so many approaches to Concurrency/Paralllism, how can I learn about them and the main thing, how they differ from each other ?

0

u/[deleted] Jun 20 '25

[deleted] — view deleted comment

1

u/kichiDsimp Jun 21 '25

Okay boss.

11

u/Cold-Result7635 Jun 20 '25
  1. Daniel Vacanti - When it will be done. Great stuff which made me fight with pointless estimatates in fovour off flow metrics.
  2. Extreme Programming - Kent Beck. I can't stress enough how inspiring it was and helped me to clear my head from all that waterfall bullshit.
  3. Domain modelling made functional - Scott Wlashin. DDD done right. Algebraic data types, railway oriented programming, error handling and more.

1

u/kichiDsimp Jun 21 '25

I think the AOSAbook.org Is nice!

5

u/docfriday11 Jun 20 '25

I think it was called Programming with C. It was nice enough.

4

u/xiaodaireddit Jun 21 '25

the code book by simon singh

1

u/Voxelman Jun 23 '25

One of my favorite book is "Domain Modeling made Functional" by Scott Wlaschin.

1

u/kichiDsimp Jun 23 '25

What's your favourite part about it !

3

u/[deleted] Jun 27 '25

The Definitive Antlr4 Reference - Terrence Parr

Straightforward explanations of how to structure language grammars in Antlr4 , with worked examples.

2

u/Final-Roof-6412 Jun 20 '25

Joel and the Software, by Joel Spolsky

2

u/nrnrnr Jun 23 '25

So many to choose from. For just two, theory and practice,

  • Tony Hoare (that’s C.A.R. Hoare), Essays in Computing Science
  • Hunt and Thomas, The Pragmatic Programmer

I also learned a ton from Myers’s Composite/Structured Design, but at this point it’s dated.

ETA: Whoops, I overlooked what sub this is. But the title says “any topic,” and my recommendations stand.

1

u/Inconstant_Moo Jun 21 '25

David H. Ahl's More BASIC Computer Games. Real ones will know.

1

u/Timely-Degree7739 Jun 22 '25
@book{programmers-at-work,
  author       = {Susan Lammers},
  isbn           = {1556152116},
  publisher  = {Tempus Books},
  title           = {Programmers at Work},
  year           = {1989}
}

Here search for “computers”.

1

u/Timely-Degree7739 Jun 22 '25

Eh, font not monospaced/fixed width?

1

u/Weekly_Victory1166 Jun 24 '25

The Design of the Unix Operating System, Bach.

1

u/Mundane_Prior_7596 Jun 24 '25

Paul Graham, Hackers and Painters. 

0

u/[deleted] Jun 21 '25

[deleted] — view deleted comment

2

u/kinow mod Jun 24 '25

Also loved that book. I don't know if Luciano is on Reddit, but if I see him at the Garoa Hacker Club in Sao Paulo I will tell him to check your comment. He'd be thrilled.

7

u/[deleted] Jun 20 '25

[removed] — view removed comment

3

u/kichiDsimp Jun 20 '25

How did it impact you, what's your reason to mention it !

5

u/[deleted] Jun 20 '25

[removed] — view removed comment

2

u/kichiDsimp Jun 20 '25

that is inspiring

3

u/[deleted] Jun 21 '25

[removed] — view removed comment

1

u/nrnrnr Jun 23 '25

Yes, this is a killer. When I was promoted to tenure, my university invited me to choose one book that influenced me that the library should acquire in my honor. I chose this one.

1

u/[deleted] Aug 05 '25

[removed] — view removed comment

1

u/kinow mod Aug 07 '25

Some of the links appear to be affiliated links, which is not permitted.