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.

Popular General Dev topics Top

AstonJ
The obligatory speed test thread :smiley: Check here: https://www.speedtest.net When complete, click on the share link and copy and pas...
New
chasekaylee
Hi everyone! I have been in the professional industry for ~2 years now coming from a boot camp. I started a base foundation by programmin...
New
chasekaylee
I’ve been using the classic notebook to-do list, but I’m curious to hear what awesome tools are out there that I am not aware of. I’m alw...
New
AstonJ
Inspired by this tweet by @dasdom Even if you take out all the damage being done by humans, our planet has about 50B years before bein...
New
mjk
TL;DR: words that incorporate negation are acceptable, eg. independent, asymmetric, nondeterministic. An example in the book is to renam...
New
AstonJ
Just been adding some more portals, currently have the following languages: Apache Groovy C C# C++ Clojure CoffeeScript Crystal ...
New
OvermindDL1
What shell(s) do you use, why do you use them, and how do you have them configured? Note, this is about shell’s, not terminals, terminal...
New
dwaynebradley
For those that are interested, Snyk (developer security tool) announced support for Elixir earlier this week: Just thought I’d pass it...
New
New
AstonJ
Chris Seaton, the creator of TruffleRuby has died. It appears from suicide :cry: He left this note on Twitter on the weekend: And one...
New

Other popular topics Top

PragmaticBookshelf
A PragProg Hero’s Journey with Brian P. Hogan @bphogan Have you ever worried that your only legacy will be in the form of legacy...
New
Exadra37
I am thinking in building or buy a desktop computer for programing, both professionally and on my free time, and my choice of OS is Linux...
New
AstonJ
Thanks to @foxtrottwist’s and @Tomas’s posts in this thread: Poll: Which code editor do you use? I bought Onivim! :nerd_face: https://on...
New
Exadra37
I am a Linux user since 2012, more or less, and I always use Ubuntu on my computers, and my last 2 laptops have been used Thinkpads, wher...
New
Exadra37
I am asking for any distro that only has the bare-bones to be able to get a shell in the server and then just install the packages as we ...
New
Exadra37
Oh just spent so much time on this to discover now that RancherOS is in end of life but Rancher is refusing to mark the Github repo as su...
New
Margaret
Hello everyone! This thread is to tell you about what authors from The Pragmatic Bookshelf are writing on Medium.
1132 25321 748
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
If you get Can't find emacs in your PATH when trying to install Doom Emacs on your Mac you… just… need to install Emacs first! :lol: bre...
New
PragmaticBookshelf
Build efficient applications that exploit the unique benefits of a pure functional language, learning from an engineer who uses Haskell t...
New