MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/teqb37/static_bool_iscrazymurderingrobot_false/i0tw1cj/?context=3
r/ProgrammerHumor • u/speckz • Mar 15 '22
257 comments sorted by
View all comments
Show parent comment
1
This is where yoda syntax is useful.
If (true == isCrazyMurderingRobot)
Will never result in an erroneous assignment.
View all comments
Show parent comment
1
u/hardythedrummer Mar 16 '22
This is where yoda syntax is useful.
Will never result in an erroneous assignment.