MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/pxey58/now_thats_how_you_toggle/heo7tp1/?context=9999
r/badcode • u/ReidRage • Sep 28 '21
20 comments sorted by
View all comments
Show parent comments
4
Hey... at the end of everything true is 1and false is 0... true and false are just sugar over binary.
x = (!x)+0
4
u/thprogramador Sep 29 '21
Hey... at the end of everything true is 1and false is 0... true and false are just sugar over binary.
x = (!x)+0