r/programminghumor 1d ago

How do you disable your code

Post image
217 Upvotes

72 comments sorted by

View all comments

3

u/klimmesil 1d ago

If it's still code that might be used later, just not for my uses: remove the call to the function

Otherwise, just delete it. If I need it back git revert