3 ms·
Couldn't you do this with an anonymous function in languages which have those? Which would look like: { if A && B return println("FizzBuss");
by jacobush 7y ago
Couldn't you do this with an anonymous function in languages which have those? Which would look like:
{
if A && B return println("FizzBuss");
if A && !B return println("Fizz");
if !A && B return println("Buzz");
if !A && !B return println("{}", i);
}
- Hello71 7y agothat just seems to being us back to the problem of not wanting to re-evaluate the functions...