r/programminghumor • • Aug 22 '26

How do you disable your code

Post image
294 Upvotes

91 comments sorted by

View all comments

Show parent comment

0

u/geek-49 Aug 26 '26

OP wants the code of the function to be compiled, perhaps so that it can be invoked using the debugger, but to not be executed on a normal call of fun(). Some compilers might not compile code that they detect as unreachable.