News for hackers. Stuff that matters.
Re:How to Understand and Use Common Lisp by moonchild on Sunday May 14, 2023 @06:54AM (#35937035)
self, javascript (v8), java (hotspot; generics are latently monomorphised according to hotness; also see 'invokedynamic'), apl (apl\3000)
Re:How to Understand and Use Common Lisp by AnimalMuppet on Sunday May 14, 2023 @07:41AM (#35937244)
I don't think you can say that java "doesn't use type annotations".
Re:How to Understand and Use Common Lisp by tmtvl on Sunday May 14, 2023 @07:51AM (#35937294)
Well, technically you do have the var keyword now.

  var x = MyAwesomeClassFactoryBeanTemplate.getBean().getFactoryInstance().createNewMyAwesomeClass(foo, bar);
Re:How to Understand and Use Common Lisp by kirankp89 on Sunday May 14, 2023 @02:05PM (#35939940)
I am not super familiar with Java but that syntax typically implies type inference, which is not the same as not needing type annotations.
Re:How to Understand and Use Common Lisp by bcrosby95 on Sunday May 14, 2023 @05:42PM (#35941581)
Not only is it type inference, it's limited to locally declared variables.