|
|
|
|
|
by cauterize
1563 days ago
|
|
I chose it due to the type system. Nearly every piece of data is optional. I need to compose these pieces of data to form a full set and apply that set of rules to a system. Haskell made a lot of things work out really well: * embedded DSL for describing things with minimal syntax
* types to enforce my invariants
* immutable data + STM to protect my shared data structures
* multithreaded/async code is easy to work with
* deterministic outputs given inputs but it was headaches in a lot of ways: * exceptions - still not sure I’ve handled all exceptions gracefully
* culture - most teammates are intimidated by Haskell (and types)
* ecosystem is behind (Rust has exponential usb acceleration vs Haskell’s constant pace) While I’m proud of the outcome I would have chosen differently now that I’ve seen the other side and have the project done. The inertia I was fighting required far too much energy |
|