Re:Google broke a conditional statement that verifies passwo...
by grishka on Thursday July 22, 2021 @04:37PM
(#27923994)
Certainly won't compile in Java.
[ Parent
| on HN ]
Re:Google broke a conditional statement that verifies passwo...
by shawnz on Thursday July 22, 2021 @04:51PM
(#27924171)
In fact you can apply the single ampersand & operator to booleans in Java, and just like in the example here it has the same behaviour as && but with no short-circuiting.