Hacker News new | past | comments | ask | show | jobs | submit login

I'm not sure I like the idea of parsing templates with regular expressions. There is a better way, as demonstrated in Robe Pike's video[1] detailing how the Go template language is implemented.

Edit: which isn't meant to detract from the fact that this is a great article.

[1]http://www.youtube.com/watch?v=HxaD_trXwRE




Thanks for the video – this was my first stub at template engines so I'm all for learning about better approaches.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: