News for hackers. Stuff that matters.
Re:Building microservices with akka-http by muraiki on Friday March 04, 2016 @01:30PM (#11225788)
Do you find that you miss Scala's type system in Elixir? I'm a big fan of FP, but I also really enjoy type safety. I just wrote a functional pipeline in perl and most of the errors were dumb things I did that a type system would have caught.
Re:Building microservices with akka-http by gamache on Friday March 04, 2016 @02:45PM (#11226385)
I do find myself missing strong typing sometimes, but I'd been writing scalaz-flavored Scala, and one thing I do not miss is working around JVM type erasure all the time. It has been about six months since I've had to type .asInstanceOf[T] and I am not looking back. :)

Aside from strong typing, almost everything related to FP/concurrency/fault-tolerance that I liked about Scala is in Elixir -- first-class functions, immutable everything, shared nothing, everything is actors passing messages, supervision trees, etc. I can even whip out monads when I want them!

[1] https://github.com/rob-brown/MonadEx