Revisiting the principles of data-oriented programming
blog.klipse.tech
Revisiting the principles of data-oriented programming
1–10 of 117 posts
Re: Revisiting the principles of data-oriented programming
#2Re: Revisiting the principles of data-oriented programming
#3Re: Revisiting the principles of data-oriented programming
#4This post (and the book it points to) is perhaps teaching a new generation what has been known for a long time: the "body" of your business is the data, not the code. E.g. if you have limited space on a thumbdrive and can only keep one thing in a datacenter fire, your database or your codebase, you keep the database.
Re: Revisiting the principles of data-oriented programming
#5It is why C++ continues to grow. Some complain about that, but every single feature got there over fierce opposition by making some common programming problem more tractable.
Re: Revisiting the principles of data-oriented programming
#6I haven't loved debugging systems whose primary data structure is a Map.
If your primary data structure is
Map>
we have a huge problem.On the other hand, if your primary data structure is
Map>
Then I'd rather see that than IPurchaseMappingByCustomerIdAbstractFactory or whatever other abomination OO priests will conjure. Generally speaking, generic structures are simpler and they allow for easier transformations.Re: Revisiting the principles of data-oriented programming
#7There's something called "Data-Oriented Programming" and something else called "Data-Oriented Design". I can never remember which is which. This post changes nothing.
Re: Revisiting the principles of data-oriented programming
#8This is not OOP, this is a way to do functional programming in a class-based language that lacks top-level function declarations / modules.
While this might seem a nit pick it makes me sceptical about the rest of the content.
Re: Revisiting the principles of data-oriented programming
#9"Anything"-oriented programming is dumb. Every big problem is a collection of smaller, different problems. Different problems call for different approaches. Sometimes the best approach has data-oriented features, sometimes object, sometimes functional, sometimes piped. For big problems you want a language good at all of them. It is why C++ continues to grow. Some complain about that, but every single feature got ther…
Re: Revisiting the principles of data-oriented programming
#10> Adherence to this principle in OOP means aggregating the code as methods of a static class. This is not OOP, this is a way to do functional programming in a class-based language that lacks top-level function declarations / modules. While this might seem a nit pick it makes me sceptical about the rest of the content.