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

> I like to say that scala is as if java and ruby had a love child and it all worked out.

I feel Kotlin is probably a more accurate result of this mindset, but reasonable people disagree.

What part of ruby or java has anything morally or technically even approaching the concept, use case, or meaning of implicits?



Kotlin is more like if Java and Python had a love child. It's clean, simple, quick to pick up, and pretty much retains the behavior of the underlying language.


I agree I came from Python/F#. I've also had a lot of success converting python teams to kotlin, and ruby teams to scala.


> What part of ruby or java has anything morally or technically even approaching the concept, use case, or meaning of implicits?

Dependency injection for implicit params, for one? Also, you can almost see implicit conversions as one take on type safe dynamic typing. Almost.

But of course Scala also brings functional programming and its own ideas to the mix.




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

Search: