DEV Community

Discussion on: Clever coding tricks ( that we don't need )

Collapse
 
willtrout profile image
Matt Willtrout

The compiler should optimize a double NOT to a NO-OP anyway.

Collapse
 
webbureaucrat profile image
webbureaucrat

But it does do something in this context so that would be a bad optimization...?