You are viewing a single comment's thread. Return to all comments →
I have so many issues with this exercise...
namespace clashing, e.g. class Math { }.
(a) Returning 0/1 instead of true/false.
(b) Returning 0 to denote a truthy value, which goes against common coding sense.
This:
op = ob.checkEvenOdd(); ret = ob.checker(op, num);
The whole thing was confusing from begining to end!
Java Lambda Expressions
You are viewing a single comment's thread. Return to all comments →
I have so many issues with this exercise...
namespace clashing, e.g. class Math { }.
(a) Returning 0/1 instead of true/false.
(b) Returning 0 to denote a truthy value, which goes against common coding sense.
This:
op = ob.checkEvenOdd(); ret = ob.checker(op, num);
The whole thing was confusing from begining to end!