4 ms·
Messy Structs/Classes in a Functional Style
- markatkinson 11y agoI am busy learning Elixir and these are some good points to keep in mind. Hopefully I don't favourite and forget.
- infinity0 11y ago> In a real game, I found that almost everything was optional, so I ended up with simply: > {Position, Optional_Stuff} Or in other words, {Position, Everything_Else} :)