Mixing object-oriented and functional programming

前端 未结 12 1727
渐次进展
渐次进展 2020-12-24 01:33

What languages are available that promote both object-oriented and functional programming? I know that any language that supports first-class functions can be considered fun

12条回答
  •  时光说笑
    2020-12-24 02:16

    Python, javascript, common lisp, ruby, smalltalk, haskell, and ocaml, off the top of my head. It's not really an exotic combination.

提交回复
热议问题