Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There is a phrase from Yaron Minsky about OCaml, “make illegal states unrepresentable”, which summarize this.

It's more about programming declaratively, functional, as well as strong types which allow you to be very expressive. My experience with F# is similar, if you can get you code compiled, it almost always just works as you expect. But this doesn't mean that you can avoid writing tests though.

This is a good read about it, https://fsharpforfunandprofit.com/series/designing-with-type... by Scott Wlaschin.



Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: