HNHacker News
TopNewBestAskShowJobs

viebel

970 karma · joined August 3, 2015

submissionscomments
viebel··on Ask HN: Data-Oriented programming vs. Functional programming
Please, don't confuse DoD and DoP
viebel··on Ask HN: Data-Oriented programming vs. Functional programming
Has this data-centric approach be embraced in programming languages other than Clojure?
viebel··on Ask HN: Data-Oriented programming vs. Functional programming
You are referring to Data-Oriented design, while I am referring to Data-Oriented programming

https://blog.klipse.tech/visualization/2021/02/16/data-relat...

viebel··on Ask HN: Data-Oriented programming vs. Functional programming
My purpose here is not to promote the book but to learn from FP experts what they think about the relevance of DOP approach to FP languages.
viebel··on Ask HN: Data-Oriented programming vs. Functional programming
Done
viebel··on Ask HN: Data-Oriented programming vs. Functional programming
In both DOP and FP data is immutable. In FP, we tend to represent data with specific types while in DOP we represent data with generic data structures (e.g. maps and lists)
viebel··on Ask HN: Data-Oriented programming vs. Functional programming
DOP and FP share common insights about separation between code and data and constraining ourselves to immutable data.

The main difference between DOP and FP is that in DOP we use generic data structures to represent data (e.g. maps and lists)

viebel··on Ask HN: Data-Oriented programming vs. Functional programming
Data-oriented programming is about representing data with immutable generic data structures (e.g. maps and lists) and manipulating data with general purpose functions
viebel··on My book about Data-Oriented programming
Author here: Happy to get feedback about the book
viebel··on Show HN: Data-Oriented Programming Book
Author of the book here. Happy to answer questions about the book.
viebel··on New Book: Data-Oriented Programming
Here you go: https://github.com/viebel/data-oriented-programming
viebel··on New Book: Data-Oriented Programming
What you write makes me thinking. I'd like to reach out to discuss it deeper. Could you send me an email at: viebel hat gmail dot com ?
viebel··on New Book: Data-Oriented Programming
Why do you ask for a github repo?
viebel··on New Book: Data-Oriented Programming
Book author here:

Let me know what you think about a the book TOC and first chapters.

viebel··on Show HN: Decrease system complexity by separating Code from Data
In this chapter, the hero meets Joe a Clojure developer that guides him through the first principle of data oriented programming: Separating Code from Data.

Feedback welcome!

viebel··on Principles of Data Oriented Programming
Yes. It should be

``` function isProlific (data) { return data.books > 100; } ```

viebel··on Principles of Data Oriented Programming
My original book with Manning about Clojure has been abandoned. Now I am writing a book about Data oriented programming
viebel··on Principles of Data Oriented Programming
> Data-oriented programming is so integral to Clojure's culture that I'm not sure Clojurists even realize they're doing it half the time.

I totally agree with you. I am a Clojurist and my hope is that my DOP book will spread the "light" to non Clojurist.

viebel··on Principles of Data Oriented Programming
I know that there some common topics with Eric's books. Do you think Eric focuses as much as I do about data?
viebel··on Principles of Data Oriented Programming
It is going to be the theme of Chapter 3 of my DOP book. Stay tuned.
viebel··on Principles of Data Oriented Programming
I totally agree with "data should be creatable without explicitly doing any function calls, variable assignments or similar."

Could you explain what you mean by "Creation must not depend on implicitly captured data"?

viebel··on Principles of Data Oriented Programming
What do you mean when you write that `{ "a" : "b" }` is not necessary a literal but potentially an expression?
viebel··on Principles of Data Oriented Programming
Could you share an example of how to apply the principles of DO in the context of event sourcing?
viebel··on Principles of Data Oriented Programming
I think that in pure FP, we tend to avoid global variables as much as we can, which is a good practice in general.

What I meant is that DO is not opiniated regarding to global variables.

viebel··on Show HN: Principles of Data Oriented Programming
This article is an excerpt from my upcoming book about Data Oriented Programming. This article is an attempt to illustrate what are the core principles of Data Oriented Programming as I understand them. It is highly influenced by my programming experience in Clojure, but I believe that those principles are language agnostic.

Feel free to share feedback, agree, disagree or refine.

viebel··on Principles of Data Oriented Programming
This chapter is an attempt to illustrate what are the core principles of Data Oriented Programming as I understand them. It is highly influenced by my programming experience in Clojure, but I believe that those principles are language agnostic.
viebel··on Show HN: Easy intro book to Clojure and immutability
Manning allowed me to provide in pdf the Unit 0 and Unit 1. Unit 0: https://docs.wixstatic.com/ugd/8165fc_091580b11bc742c8830d29...

Unit 1: https://docs.wixstatic.com/ugd/8165fc_a165a000ec444796b7e63c...

viebel··on Show HN: Easy intro book to Clojure and immutability
Manning allowed me to provide in pdf the Unit 0 and Unit 1. Unit 0: https://docs.wixstatic.com/ugd/8165fc_091580b11bc742c8830d29...

Unit 1: https://docs.wixstatic.com/ugd/8165fc_a165a000ec444796b7e63c...

viebel··on Show HN: Easy intro book to Clojure and immutability
Manning allowed me to provide in pdf the Unit 0 and Unit 1. Unit 0: https://docs.wixstatic.com/ugd/8165fc_091580b11bc742c8830d29...

Unit 1: https://docs.wixstatic.com/ugd/8165fc_a165a000ec444796b7e63c...

viebel··on Show HN: Easy intro book to Clojure and immutability
I am curious to read your feedback on my Clojure book. Please send feedback by email: viebel@gmail.com
← PreviousPage 2 of 5Next →