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

> types are nice and Scala's type system is powerful, but sometimes I wish I had the flexibility of a dynamic language. It would make prototyping much faster.

You can use both scala and clojure seamlessly. I'm writing my first gui app in clojure for prototyping swing, but if I choose to rewrite parts of it in scala the rest of the clojure code would continue to work.

There are several ways. using clojure in a scala project: https://github.com/Geal/sbt-clojure using scala in a clojure project: https://github.com/technomancy/lein-scalac jvm polyglot with maven: https://stackoverflow.com/a/9676895

example: https://blog.michielborkent.nl/blog/2016/07/26/clojure-from-...



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

Search: