Skip to main content
9 events
when toggle format what by license comment
May 26, 2020 at 5:16 vote accept Mugen
May 21, 2020 at 6:23 history edited Mugen CC BY-SA 4.0
added 3 characters in body
May 21, 2020 at 5:07 comment added dzieciou @PHide. Not really. Many functions for checking conditions are already in Java. if (result > 5) {log.warning("Result to high %s", result );}. I guess what you mean is good diagnostics messages like "Expected result to be great than 5, actual value was 4", then I agree -- JUnit/TestNG assertions have that reporting builting in.
May 21, 2020 at 4:57 comment added PDHide @dzieciou if he want to check greater than , then he have to write a function that checks greater than , if he wants equal then he need a function , for everything he has to reinvent the wheel
May 21, 2020 at 4:56 comment added PDHide @dzieciou he have to write extra Boolean function for each type of validations
May 21, 2020 at 4:00 comment added dzieciou The solution you write seems explicit and elegant. What makes you think it is not elegant?
May 20, 2020 at 11:49 answer added PDHide timeline score: 2
May 20, 2020 at 11:20 answer added João Farias timeline score: 2
May 20, 2020 at 10:38 history asked Mugen CC BY-SA 4.0