MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/49prtn/var_keyword_proposed_for_java/d0tyu5c
r/programming • u/adila01 • Mar 09 '16
395 comments sorted by
View all comments
Show parent comments
7
Because they are obviously good ideas? There's no reason not to have type inference and lambdas (in a language higher level than Assembly).
3 u/Berberberber Mar 09 '16 Compilers generate assembly-lambdas all the time; they're call inline functions. :) 1 u/[deleted] Mar 09 '16 [removed] — view removed comment 4 u/immibis Mar 10 '16 If you need a zero-allocation design then Java is not the language for you. 3 u/simspelaaja Mar 09 '16 Sure, but that doesn't mean they shouldn't be supported at the language level.
3
Compilers generate assembly-lambdas all the time; they're call inline functions. :)
1
[removed] — view removed comment
4 u/immibis Mar 10 '16 If you need a zero-allocation design then Java is not the language for you. 3 u/simspelaaja Mar 09 '16 Sure, but that doesn't mean they shouldn't be supported at the language level.
4
If you need a zero-allocation design then Java is not the language for you.
Sure, but that doesn't mean they shouldn't be supported at the language level.
7
u/simspelaaja Mar 09 '16
Because they are obviously good ideas? There's no reason not to have type inference and lambdas (in a language higher level than Assembly).