Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
duskwuff
2y ago
0 comments
Save
Share
You're probably looking for "#if 0" / "#endif".
0 comments
5 comments · 2 top-level
top
newest
oldest
billforsternz
2y ago
· 2 in thread
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.
TillE
2y ago
· 1 in thread
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.
j
/
k
navigate · click thread line to collapse