415 karma · joined Sep 23, 2020 (6y ago) · 78 submissions
comment 9mo ago · link · parent
Type-Driven Development with Idris[1] is a great introduction for dependently typed languages and covers methods such as these if you're interested (and Edwin Brady is a great teacher).
[1] https://www.manning.com/books/type-driven-development-with-i...
comment 2y ago · link · parent
Code is read more than written, so I have grown to appreciate programming languages that lean into non-ASCII characters for semantic clarity :)
comment 2y ago · link · parent
Having worked with event sourced systems in the past, there are benefits in having a persisted explicit event history, but there is much added complexity (how do those read models actually get generated? how do you version the model? do you have snapshots of your read models?). In my experience, the additional complexity was not worth it for most contexts in which the pattern was applied...
comment 3y ago · link · parent
[1] https://www.manning.com/books/f-sharp-in-action
[2] https://pragprog.com/titles/swdddf/domain-modeling-made-func...
comment 3y ago · link · parent
comment 3y ago · link · parent
12.
The Racket Manifesto (2015) [pdf](cs.brown.edu ↗)
2 points · by mdm12 · 3y ago · 1 comment
comment 4y ago · link · parent
comment 4y ago · link · parent
[1] https://learn.microsoft.com/en-us/dotnet/fsharp/language-ref...
comment 4y ago · link · parent
The short answer is that a category also satisfies two rules: every object has an arrow to itself (identity) and if there are two arrows (a->b) and (b->c) there is an arrow (a->c) (associativity).
Other abstractions such as functors (mappings between categories) are built upon this relatively simple foundation. You can also think about categories of categories (they can be considered an object, after all!), and so on and so forth.
Some complain about the generality of Category Theory ('It is a theory about everything and nothing!'), but its generality makes it compelling for some for study.
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent