r/Clojure • u/viebel • Dec 29 '21
📖 Data-Oriented Programming book: First draft
After 18 months of development, I am glad to announce that I finally completed the first draft of my book: Data-Oriented Programming.
I wanted to thank all the people from the Clojure community that helped me in the thinking and the writing process.
The book got sold decently (2.8k copies) despite being in MEAP state (Manning Early Access Program).
The book is my attempt to formulate the underlying principles of Clojure approach to data and illustrate how to apply them in another language.
Here are the 4 principles of Data-Oriented Programming:
Separate code (behaviour) from data
Represent data with generic data structures
Data is immutable
Separate data schema from data representation
For those who already bought the book or are interested, I released the book's source code to https://github.com/viebel/data-oriented-programming. The publication is expected for March 2022.
If you guys aren't sure about buying the book, contact me on Twitter @viebel, I'll DM you a preview.

1
u/viebel Dec 29 '21
What's the reaction of your coworkers?