3 ms·
1. Delayed function argument expression evaluation. Only evaluate the argument if the result is consumed. You can get close using Callable<V>/.call in Java or
by karmakaze 7y ago
1. Delayed function argument expression evaluation. Only evaluate the argument if the result is consumed.
You can get close using Callable<V>/.call in Java or better with 'lazy' in Kotlin, but I want it to be default behaviour. Even 'let' in Lisp/Clojure is sometimes annoying being eagerly evaluated.
2. 'var' function argument and return types. Basically allow type inference to work through a call stack.
Basically I want F# features to be in more popular languages.