Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
mattkrea
11y ago
0 comments
Save
Share
Reminds me of typescript
/// <reference path="../typings/tsd.d.ts" />
0 comments
2 comments · 1 top-level
top
newest
oldest
kevingadd
11y ago
· 1 in thread
/// is metadata/docstrings - it's a convention from C#. So a /// block is parsed by the compiler and tooling (to generate documentation xml files, for example), while a // comment is not parsed at all, just stripped.
mattkrea
OP
11y ago
Gotcha. Although most of the guys I see use the /// <summary> stuff as comments in the real world I guess I can see the difference.
j
/
k
navigate · click thread line to collapse