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

The bytecode is the same but not the standard library of classes. Scala uses different collection classes, Option instead of Optional, companion objects instead of static classes, etc...

In my experience mixing scala and java in a single codebase is inelegant, with plenty of conversion code at the boundaries.



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

Search: