Hacker News new | ask | show | jobs
by crabsand 101 days ago
I see implementation inheritance there and I don't like it. Otherwise cool language.
1 comments

You'd prefer something more like Rust traits or Haskell Type Classes?

I admit this was mostly out of simplicity/convenience/familiarity.

If you're a Rust person, you'll appreciate that Lobster lets you use similar exhaustive switches to Rust's enum instead: https://github.com/aardappel/lobster/blob/master/tests/types...