Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
duskwuff
2y ago
0 comments
Share
You're probably looking for "#if 0" / "#endif".
0 comments
default
newest
oldest
TillE
2y ago
Yeah it took me a while to adopt this common practice when I need to "comment out" a large block of code. Just use the preprocessor, it's much simpler.
Karellen
2y ago
FWIW, replacing comments with whitespace is also done by the preprocessor.
billforsternz
2y ago
The fact that you can't do this with new fangled languages is one of the reasons I don't use new fangled languages
zzo38computer
2y ago
That and other things I dislike about many of the new fangled languages.
LoganDark
2y ago
I prefer using completely unfangled languages, thank you very much.
j
/
k
navigate · click thread line to collapse