I was a fine piece, to be sure. The point is, it's customary to append that the title (so people aren't drawn into clicking on the article as if it's something new).
My book "Data-Oriented programming" is #1 Manning best seller for 2021.
The book formulates the principles of an approach to data that reduces complexity and illustrates how to apply them in a statically-typed language like C# or Java or in a dynamically-typed language like JavaScript, Python or Ruby.
Here are the 4 principles of Data-Oriented Programming:
1. Separate code (behaviour) from data
2. Represent data with generic data structures
3. Data is immutable
4. Separate data schema from data representation
It might sound like Functional Programming but if you look closer at the principle list, you will notice that principles #2 and #4 are not part of FP.
I am strongly considering buying a copy of your book and giving data-oriented programming a go in my day job. My only hesitation is data immutability. I work in a data-intensive scientific field where we frequently use custom, mutable data structures holding massive amounts of data. Creating persistent versions of these data structures would be an extremely complex undertaking. Do you have any thoughts about using data-oriented programming in situations when data mutability is difficult to avoid?
That’s right. Our data structures are designed for working with large amounts of compressed text (dynamic FM-Index is one example). They are pretty hard to implement so making a persistent version of such a data structure would require a big time commitment. I imagine that my use case is not that unique and there are many situations where mutable data structures are hard to avoid.
I use C++ and Rust. Unfortunately, there are no persistent versions of the data structures I need available in any language (using dynamic FM-index as an example again). It is just interesting to think about “hybrid” systems where most of the code follows principles of data-oriented programming and some of the code deals with any unavoidable mutability.
Here are a few things my editor provided me:
1. A process for writing the manuscript
2. Contacting external reviewers
3. Marketing
4. Feedback on a monthly basis