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

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
AstonJ
I just watched this: (tldr: remove bad choices so you don’t need to use willpower) It got me thinking about ways to incre...
New
AstonJ
Want to plug where you work? Here’s your chance! Perhaps you could also mention what kind of stuff you’re working on? :nerd_face:
New
AstonJ
If you could work on any project, what would it be? :upside_down_face:
New
chasekaylee
Hi there! I have some old Bose in ear noise cancelling headphones that have worked like a champ for the past 3 years and was maybe due fo...
New
New
dwaynebradley
In their weekly newsletter, Jared Santo from the Changelog shared this blog post by Mark Ericksen over at fly.io: What is really inter...
New
Exadra37
A modern streaming platform for mission critical workloads Redpanda is a Kafka® compatible event streaming platform. No Zookeeper®, no JV...
New
AstonJ
Do we have any digital nomads here? Anyone fancy it? If so, which countries would you consider? I’ve been toying with the idea for a wh...
New
Exadra37
My brother got a VPS on https://contabo.com hosting provider, but I was not aware of them, and when my brother told me the price and spec...
New

Other popular topics Top

axelson
I’ve been really enjoying obsidian.md: It is very snappy (even though it is based on Electron). I love that it is all local by defaul...
New
brentjanderson
Bought the Moonlander mechanical keyboard. Cherry Brown MX switches. Arms and wrists have been hurting enough that it’s time I did someth...
New
AstonJ
I’ve been hearing quite a lot of comments relating to the sound of a keyboard, with one of the most desirable of these called ‘thock’, he...
New
AstonJ
Do the test and post your score :nerd_face: :keyboard: If possible, please add info such as the keyboard you’re using, the layout (Qw...
New
AstonJ
Continuing the discussion from Thinking about learning Crystal, let’s discuss - I was wondering which languages don’t GC - maybe we can c...
New
Maartz
Hi folks, I don’t know if I saw this here but, here’s a new programming language, called Roc Reminds me a bit of Elm and thus Haskell. ...
New
PragmaticBookshelf
Author Spotlight: VM Brasseur @vmbrasseur We have a treat for you today! We turn the spotlight onto Open Source as we sit down with V...
New
AstonJ
If you’re getting errors like this: psql: error: connection to server on socket “/tmp/.s.PGSQL.5432” failed: No such file or directory ...
New
AstonJ
Curious what kind of results others are getting, I think actually prefer the 7B model to the 32B model, not only is it faster but the qua...
New
New