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

Clojure has both function objects and interfaces (called 'protocols'). In fact, it encourages the use of interfaces while strongly discouraging the traditional object inheritance model. Most people who've tried it AFIAK consider Clojure a well-designed language.


Clojure, Golang, Scala and Rust all implement similar interface.




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

Search: