Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Is there similar solution in the .NET world? I am using Knockout.js with underscore templates, and I would like to give this technique a try.


It's a technique in a lot of worlds: http://en.wikipedia.org/wiki/Partial_evaluation

(BTW, I just mean this as informative. I wish more people were aware of this idea, and I wish more mainstream languages would make this easier.)


You can just pre-process them with node and then use the generated template functions in whatever app you want. It's just client-side JS at that point. This isn't unlike pre-process SASS, or SCSS, etc.




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

Search: