Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
yitchelle
on Feb 19, 2021
|
parent
|
context
|
favorite
| on:
Why is it so hard to see code from 5 minutes ago?
I would do a bit more by
#if !defined(this_works_but_it_suck_memory_too_hard) .... #else .... #endif
That should give me a clue why I "disabled" it when I come back to it 5 minutes later.
MauranKilom
on Feb 19, 2021
[–]
I usually just do this with a comment behind the #if false. Yes, nobody is probably ever going to define that particular identifier, but comments are also less restrictive (you can write normal text).
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: