News for hackers. Stuff that matters.
Re:COBOL bridge for Node.js by marpstar on Monday August 17, 2015 @09:10AM (#10072686)
not in the language itself, but you can obtain the full text of a function, detect the comment and parse it, and inject it where ever it needs to go.
Re:COBOL bridge for Node.js by STRML on Monday August 17, 2015 @10:13AM (#10073057)
Yep. "Passing a comment" is used by calling .toString() on the function. It fails when using minification for obvious reasons but of course you wouldn't on Node code.

It's a clever hack around JS's awful multiline string support. But with ES6 template strings it's not really needed anymore.