Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Reminds me of typescript

/// <reference path="../typings/tsd.d.ts" />



/// 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.


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: