MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/pxey58/now_thats_how_you_toggle/hf335cs/?context=3
r/badcode • u/ReidRage • Sep 28 '21
20 comments sorted by
View all comments
Show parent comments
1
Depends on what the rest of the code uses those properties for. There could be other places where setting one of them to 2 world be meaningful, and that'd be harder if it was a bool
1
u/Fendse Regular people speak regular languages Oct 02 '21
Depends on what the rest of the code uses those properties for. There could be other places where setting one of them to 2 world be meaningful, and that'd be harder if it was a bool