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

Scala is type-safe, but type-safe with escape hatches (which every good language has sometimes, when the programmer knows the truth of theorems the type-checker can't prove). It also has an undecidable type system, but then, so does half of everything nowadays.


It isn't even about "escape hatches". There are programs that can be written without any special language features that will cause class cast exceptions. Please do your research.


Perhaps there are, but in over 20000 lines of Scala code I haven't encountered any. So this is a non-issue in practice.


Could you show one?




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

Search: