Hacker News new | ask | show | jobs
by playing_colours 1407 days ago
Can you please elaborate on “render, don’t template”?
1 comments

With templating, you treat the yaml as text with a yaml-unaware templating engine (like golangs text/template). You need to make sure that the end result is valid yaml.

With rendering, you use something that is aware of yaml, and you feed it data and it outputs valid yaml.