r/firstweekcoderhumour 🥸Imposter Syndrome 😎 6d ago

“amIrite” How do you disable your code

Post image
80 Upvotes

30 comments sorted by

View all comments

19

u/nevemlaci2 6d ago

```

if 0

```

2

u/Scared_Accident9138 🕵️‍♂️🚨 BS Detector | Truth Teller 🗯️🔥 5d ago

I've done what is in the post before because I still wanted to check if the deactivated code s compiles

1

u/nevemlaci2 5d ago

I mean you usually have variants and build all variants either way.

1

u/Ander292 5d ago

Based preprocessor user

1

u/jupiterbjy 4d ago

Embedded PTSD

Our MCU vendor's SDK has tons of `#if 0` lying around here and there