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

> What examples of static typing with OO or procedural languages that are only a "pleasure to work with" can we look at ?

OCaml and Rust would fit the bill. You can do procedural and OO in both. You could add Scala to that. I think the conclusion is not that "functional is better than OO" but "they both have their strength and are not mutually exclusive".



You could add Nim [1] to that list. Many people say it has "the ergonomics of Python but the strong static typing of C++/Rust."

[1] https://nim-lang.org




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

Search: