frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Soppo – A Golang superset that adds enums, pattern matching, nil safety

https://github.com/halcyonnouveau/soppo
1•beanpup_py•43m ago
Hey HN, I've been working on Soppo, a language that compiles to Go, adding features to catch errors at compile time instead of runtime: enums with exhaustive matching, `?` for error propagation, and nil safety from static analysis of nil flows (sort of like https://github.com/uber-go/nilaway but currently much less sophisticated). It's designed to still look and feel like Go, and be able to use any Go library directly.

Playground: https://play.soppolang.dev

Not production ready and still a little early in development, but curious what people think about the design.