News for hackers. Stuff that matters.
Re:Ask HN: The importance of heredoc by firebug on Thursday June 25, 2009 @11:54AM (#673865)
heredocs are great. I use them all the time for metaprogramming. I don't see them going out of style anytime soon. Not sure what you mean about complicated syntax.

I supect you may be new to Ruby and confused by the heredoc sytnax. If so, this post has a review of some of the syntactical issues with heredocs:

http://log.gmarik.info/2007/12/rubys-here-document-heredoc-m...

Hope that helps.

Re:Ask HN: The importance of heredoc by stcredzero on Thursday June 25, 2009 @10:43PM (#674854)
Not confused. Heredoc is one of the things that complicates Ruby syntax from the implementer's POV.

Use heredoc for metaprogramming? Now I'm starting to believe in the Lisp dogma.