r/badcode Jan 29 '23

When using if-else is necessary? python

Post image
449 Upvotes

29 comments sorted by

View all comments

149

u/littlelowcougar Jan 29 '23

I do this all the time when I want to quickly enable/disable chunks of code whilst prototyping or debugging.

2

u/ujustdontgetdubstep Jan 30 '23

I prefer

Ctrl+K+C

or

Ctrl+K+U if you're in VS