Re:Java Is Underhyped
by kaba0 on Saturday April 17, 2021 @04:58AM
(#26842716)
Yeah, multiple returns does come up from time to time, but nowadays with records you at least have named tuples in with one line declarations. And if you don’t save the return type, I’m sure the escape analysis will get what you are doing, so it won’t be heap allocated.
But I do agree that there is space for improvements here.
But I do agree that there is space for improvements here.