Re:Ask HN: The importance of heredoc
by stcredzero on Thursday June 25, 2009 @10:43PM
(#674851)
Put the text from a heredoc in a comment with special tags. Have a special method that lets you retrieve the text in the same source file. This puts zero syntactic load on the language, but has much the same effect. You can even have embedded methods, source debugging, regexes. But there's no additional syntax.
[ Parent
| on HN ]
There are no comments on this comment yet.