WelcomeUser Guide
ToSPrivacyCanary
DonateBugsLicense

©2025 Poal.co

(post is archived)

[–] 0 pt

>In the example, it is assumed that you have to store a to reuse the value elsewhere.

a=f(x); if(a) g();

And then you actually can reuse "a" elsewhere

[–] 0 pt

that's using two extra characters and a readability whitespace not counting the new line. :p

In c, you can reuse "a" in both cases.

[–] 0 pt

That's performing an actual conditional check, it's not an affectation instead of a check, within what was supposed to be a check