WelcomeUser Guide
ToSPrivacyCanary
DonateBugsLicense

©2025 Poal.co

(post is archived)

[–] 2 pts

Changing something to something else you just wanted to compare with something else is never funny.

[–] 2 pts

Oh actually I missed that. nice.

[–] 0 pt

I'm not even sure it would compile to begin with

[–] 1 pt

If it's C, you'd typically get a warning. But using the result of an assignment like that is a valid statement.

I'd never write if (blah == true), though. It's just if(blah).

Usually where people screw up is if(x = y) where neither x nor y are bools.