News for hackers. Stuff that matters.
Re:Please do not attempt to simplify this code by Touche on Friday December 28, 2018 @07:45AM (#18776429)
Compilers can only tell if programs are internally consistent, they can't help ensure that they are correct. Compilers don't know about inputs. Compilers don't know if the branch you wrote goes in the correct direction for a given input.
Re:Please do not attempt to simplify this code by mywittyname on Friday December 28, 2018 @11:45AM (#18777806)
Well, the compiler can optimize away any superfluous branches which exist entirely to act as hints for the programmer.
Re:Please do not attempt to simplify this code by arduanika on Saturday December 29, 2018 @02:07AM (#18782406)
> they can't help ensure that they are correct

Of course they can help. Maybe you meant:

> they can't ensure that they are correct