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

I’m not a Scala programmer so I don’t know who is more right here, but _ai_ was saying that calling three different features by one name does not mean there’s really one feature. Which is different than saying one feature can be used in three different ways. The C++ static example was used because in that case the same keyword was used for several literally different features to avoid adding additional reserved words.


It's literally one feature - each of the different "ways" gets rewritten.

It's why Scala 2 and 3 are able to maintain pretty good interoperability.




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

Search: