Fork me on GitHub
#data-oriented-programming
<
2022-08-14
>
Alejandro15:08:50

Does anyone do data-oriented programming in js and python? I'd like to actually try. I know I'll probably lose the repl and spec completely, and a lot of other things, but I want to know how much I'd gain with this approach in these mainstream languages, and how hard it would be to teach others to write this way.

Yehonathan Sharvit15:08:59

That’s exactly the purpose of my book @U03RQQ5E8Q1 To teach DOP to non-Clojure developers. In the book, most examples are in JavaScript

Alejandro15:08:08

@U0L91U7A8, it's awesome, I'm still reading it and learning a lot about clojure actually. It answers questions I had, but never looked up.

Yehonathan Sharvit15:08:57

What kind of questions?

Alejandro16:08:55

For example, how immutability and persistence work. And the general idea that's in the title. It's not easy to get it from just reading online discussions.

Alejandro16:08:44

And I haven't finished it yet, looking forward to learn more.

Aleksander16:08:43

There is a heavily inspired by clojure library in python called toolz https://toolz.readthedocs.io/en/latest/index.html

Alejandro16:08:26

@UA2R84M28, cool, I'll look into this. But as far as I uderstand, it doesn't offer immutability