Comment

Comment by __s

What are "we" talking about?

- Immutability by default. Check

- Discriminated unions with exhaustive check. Check

- No nulls by default. Check

- No exceptions in the business logic. Check

- Strict dependency order. Rust doesn't have this

- Warnings on unused expression results. Check

- Typed primitives. The level of ergonomics this is implemented with in F# I'll say Rust doesn't have this

- Explicit conversions. Check

- Functional approach to concurrency. I think Rust's compile time safety against data races gives this a check. I've used channels for concurrent server processes, it's nice. Check

- Explicit dependency injection. I've never understood what this means

7/10

parent __s 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton