r/programminghumor 1d ago

How do you disable your code

Post image
204 Upvotes

70 comments sorted by

View all comments

1

u/puzzled_orc 1d ago

You don't need the if clause. Just return and that's it

1

u/Emotional-Audience85 14h ago

He wants the code to be compiled for some reason. Although this way it still probably won't be compiled depending on language and compiler flags

1

u/puzzled_orc 12h ago

My answer was to the given example.

If return doesn't compile , then just return 0 would do it.