News for hackers. Stuff that matters.
Re:Ask HN: Data-Oriented programming vs. Functional programming by viebel on Friday March 12, 2021 @10:02AM (#26436504)
Has this data-centric approach be embraced in programming languages other than Clojure?
Re:Ask HN: Data-Oriented programming vs. Functional programming by threatofrain on Friday March 12, 2021 @11:13AM (#26437299)
How is Clojure data centric in the way people are talking about here? IMO Clojure values immutability in a way which is data agnostic, not data aware.

Also Clojure not emphasizing the power of types… but types emphasize programming with data awareness.

Re:Ask HN: Data-Oriented programming vs. Functional programming by fulafel on Saturday March 13, 2021 @07:12AM (#26446059)
In the Clojure culture it tends to be seen as virtuous and desiereable when instead of writing out logic that implements rules or state tracking, you work with the rules and state as plain data in nested data structures of maps, vectors, sets, keywords used as symbols, etc.

Things like http routing, schemas of data (malli / spec), having an in-memory "app-db" storing all state for a CloureScript web frontend, etc. You can then employ universal and powerful data traversal/validation/manipulation tools in Clojure to these data structures.

Re:Ask HN: Data-Oriented programming vs. Functional programming by mamcx on Friday March 12, 2021 @03:32PM (#26440541)
Dependes in how you think about this, SQL is the most prominent.

Also array Langs like kdb+?