fp
Our great sponsors
fp | data-oriented-programming | |
---|---|---|
1 | 11 | |
2 | 117 | |
- | - | |
0.0 | 0.0 | |
about 1 year ago | over 1 year ago | |
TypeScript | JavaScript | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
fp
-
π Data-Oriented Programming book: First draft
Sure! Hereβs the link to my repo: https://github.com/astridlyre/fp π Iβm still figuring this all out!
data-oriented-programming
-
Data-Oriented Programming book has been released
The code from the book doesn't include any Clojure: https://github.com/viebel/data-oriented-programming
-
#1 Manning best seller for 2021
My book "Data-Oriented programming" is #1 Manning best seller for 2021.
The book formulates the principles of an approach to data that reduces complexity and illustrates how to apply them in a statically-typed language like C# or Java or in a dynamically-typed language like JavaScript, Python or Ruby.
Here are the 4 principles of Data-Oriented Programming:
1. Separate code (behaviour) from data
2. Represent data with generic data structures
3. Data is immutable
4. Separate data schema from data representation
It might sound like Functional Programming but if you look closer at the principle list, you will notice that principles #2 and #4 are not part of FP.
For those who already bought the book or are interested, I released the book's source code to https://github.com/viebel/data-oriented-programming. The publication is expected for March 2022.
If you guys aren't sure about buying the book, contact me on Twitter @viebel, I'll DM you a preview.
-
π Data-Oriented Programming book: First draft
Yeah, ive just been looking and all his code from the book is written in JavaScript. For example in chapter 5 of the book the library-data.js is just a JSON string.
Regarding Go, I am not only allowing but welcoming pull requests. Here is the repo https://github.com/viebel/data-oriented-programming/tree/main/challenges.
Someone wrote a solution for a couple of DOP challenges here. I invite you to add your own.
-
A beautiful paper from 1981 that explains in simple terms what are values and what are objects in programming
Here is my two-cents about how names are fixed in Clojure: https://github.com/viebel/data-oriented-programming/wiki/Identity
-
Do you like Data-Oriented programming or do you hate it?
Actually, someone gave it a try and solved the challenges of the article in Go. See https://github.com/viebel/data-oriented-programming/pull/2
-
Data-Oriented programming simplicity illustrated by coding challenges
Submit your code snippets as a pull request to the official book source code Github repository, under the challenges folder. In case you disagree with DOP, please add a few words as comments in your code that explain why you think that your solution is simpler than the ones that I wrote.
-
New Book: Data-Oriented Programming
Here you go: https://github.com/viebel/data-oriented-programming
What are some alternatives?
stream - Typesafe API for processing iterable data in TypeScript and JavaScript.
klipse - Klipse is a JavaScript plugin for embedding interactive code snippets in tech blogs.
kefir - A Reactive Programming library for JavaScript
lodash - A modern JavaScript utility library delivering modularity, performance, & extras.
Marble.js - Marble.js - functional reactive Node.js framework for building server-side applications, based on TypeScript and RxJS.
ts-iterable - Iterables, streams for typescript
wonka - π© A tiny but capable push & pull stream library for TypeScript and Flow