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

self, javascript (v8), java (hotspot; generics are latently monomorphised according to hotness; also see 'invokedynamic'), apl (apl\3000)


I don't think you can say that java "doesn't use type annotations".


Well, technically you do have the var keyword now.

  var x = MyAwesomeClassFactoryBeanTemplate.getBean().getFactoryInstance().createNewMyAwesomeClass(foo, bar);


I am not super familiar with Java but that syntax typically implies type inference, which is not the same as not needing type annotations.


Not only is it type inference, it's limited to locally declared variables.




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

Search: