Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
1718627440
58 days ago
|
parent
|
context
|
favorite
| on:
Getting syntax highlighting wrong
> Most languages don’t distinguish between those, so there’s not much you can do syntax-wise. Sometimes there’s a convention (e.g. -- vs /* */ in SQL), then use it!
I do this in C to: /* */ for explanation, // for temporary disabled.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
I do this in C to: /* */ for explanation, // for temporary disabled.