News for hackers. Stuff that matters.
Re:DRY is an over-rated programming principle? by kaba0 on Saturday July 09, 2022 @03:02AM (#32032586)
Nitpick (as in general you are right regarding java as well): I’m fairly sure they are the same for java in this instance. Both will convert Boolean to boolean, throwing an NPE if it was a null.
Re:DRY is an over-rated programming principle? by ickyforce on Saturday July 09, 2022 @08:38AM (#32034483)
Ha, that's true, thanks! I guess my Java-fu is weak these days :)