jss

jss

What do you think about Data-Oriented Programming?

What do people think about Data-Oriented Programming, like this book tackles? https://www.manning.com/books/data-oriented-programming

How is it different from FP? Can you do DOP with Elixir?

Most Liked

kokolegorille

kokolegorille

Isn’t it what FP does under the hood? Separate data from code?

I can see the difference with OOP, but less with FP.

davearonson

davearonson

Haven’t read the book, but from the blurbs, the concept seems to be basically “screw all this extra over-engineered nonsense that the so-called ‘OO’ gurus have saddled us with, let’s just go back to good encapsulation with simpler mechanisms”… like I learned in school before OO was hot, before C++ was invented. :slight_smile:

dimitarvp

dimitarvp

I think this was always true but somewhere after the original geniuses of computer sciences all of us in the industry forgot about it.

Anything I do with programming, I always bump into data (de)serialization problems and all the issues from needing network to persist your state. In-process databases like sqlite3 / duckdb / sled partially solve those problems.

IMO one day we’ll just have the far successor of PostgreSQL which will allow you to script in all accepted programming languages. Which isn’t far from reality even now: PostgreSQL: Software Catalogue - Procedural languages

IMO the whole all area will be hugely simplified when we finally start to directly code against our DB with the programming language of our choice.

Where Next?

Popular General Dev topics Top

Devtalk
Reading something? Working on something? Planning something? Changing jobs even!? If you’re up for sharing, please let us know what you’...
1033 17470 383
New
AstonJ
What chair do you have while working… and why? Is there a ‘best’ type of chair or working position for developers?
New
Rainer
Have you seen the new features that will be available in the upcoming C# 9 release? C# is taking a lot of input from functional l...
New
dasdom
No chair. I have a standing desk. This post was split into a dedicated thread from our thread about chairs :slight_smile:
New
finner
One of my 2021 resolutions is to read more tech books. As part of this effort I purchased two MEAPs (Manning Early Access Program) which...
New
Exadra37
A modern streaming platform for mission critical workloads Redpanda is a Kafka® compatible event streaming platform. No Zookeeper®, no JV...
New
TwistingTwists
Hello Fellow developers, I have been trying to wrap my head around How difficult would it have been to be a dev 20-30 years ago? I have...
New
AstonJ
00:00 The Year 2022 00:38 Web3 03:28 Metaverse 05:05 AI 06:22 Databases 07:31 JavaScript 09:58 Other Trends to Know WDYT - what wi...
New
jaeyson
Hi all, does anybody tried Shankar Devy’s Phoenix Inside Out book series? Also, will there be a big difference (aside from context prior...
New
harwind
I’m working on a C++ program where I need to convert a string containing a numeric value into an integer. I want to ensure that this conv...
New

Other popular topics Top

AstonJ
What chair do you have while working… and why? Is there a ‘best’ type of chair or working position for developers?
New
New
AstonJ
There’s a whole world of custom keycaps out there that I didn’t know existed! Check out all of our Keycaps threads here: https://forum....
New
PragmaticBookshelf
Rust is an exciting new programming language combining the power of C with memory safety, fearless concurrency, and productivity boosters...
New
New
PragmaticBookshelf
Author Spotlight James Stanier @jstanier James Stanier, author of Effective Remote Work , discusses how to rethink the office as we e...
New
AstonJ
Was just curious to see if any were around, found this one: I got 51/100: Not sure if it was meant to buy I am sure at times the b...
New
PragmaticBookshelf
Author Spotlight Jamis Buck @jamis This month, we have the pleasure of spotlighting author Jamis Buck, who has written Mazes for Prog...
New
PragmaticBookshelf
Author Spotlight: Peter Ullrich @PJUllrich Data is at the core of every business, but it is useless if nobody can access and analyze ...
New
New