Data-Oriented Programming
Yehonathan Sharvit
27 people recommended it in 2 threads, 2022–2024.
1 commenter pushed back on it — worth reading the threads.
What people on Hacker News said
Yehonathan's book advocates for immutable data stored in untyped data structures (for instance, Map<Object, Object>). My book takes the opposite approach.
I've read the first chapter and I like it a lot. I find myself way to often hiding business logic as in your first example.
Also, showing how to use Java for DoP and combining it with other concepts like OOP encapsulation is very helpful IMO.
I'm also looking forward to Yehonathan Sharvit - Data-Oriented Programming: Unlearning objects.
congrats. Data Oriented Programming is cool, but you can easily get lost in the complexity of certain things.
also, thank you for taking the step forward on doing your own small part in changing the 'AbstractFactory' thinking that's pervasive in the Java world.
Where it comes up
- Show HN: I Wrote a Book on Java 2024 · 47 recommendations
- Ask HN: Best books on managing software complexity? 2022 · 2 recommendations