top | item 44662795

(no title)

kingofheroes | 7 months ago

Pattern matching makes up for the lack of static typing to me. It provides nearly all the same benefits especially when used with guard clauses.

discuss

order

recroad|7 months ago

You can also peek inside objects and check for types and values of nested properties. In other languages you’d need to create composite types or even duplicate or extend types. In Elixir, all that is for free. I see that as much more powerful than types.