MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/114thfx/just_in_case/j8y84f6/?context=3
r/badcode • u/sspecZ • Feb 17 '23
24 comments sorted by
View all comments
Show parent comment
14
Just do assert(existing_project_type == whatever)
13 u/dabombnl Feb 17 '23 Oh shit, didn't even notice it wasn't the same condition as the IF. Nevermind. Is totally worthless.
13
Oh shit, didn't even notice it wasn't the same condition as the IF. Nevermind. Is totally worthless.
View all comments
Show parent comment
14
u/ooodummy Feb 17 '23
Just do assert(existing_project_type == whatever)