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

What if class members had to be typed?


They are (in Scala).

I think it's overloading (punning on static type of the same function, operator, or method name) that makes explicit type declarations more often necessary in Scala than in Haskell or ML.




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

Search: