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

Making the user manually escape parameters (and be very careful not to miss any) seems at odds with the goals of ease of use and maintainability. Most template libraries do this automatically by default.


You are not wrong. Just, here, priority is

1. minimalism 2. ease of use

It's an uneasy balance. I am well aware of the value of fully-powered templating engines.


For the record, I love this project's minimalist goal. Having said that, I agree with the other commenter that escaping by default (with an opt-out mechanism) is probably the better choice.

I don't even think this violates your prioritization because it should result in less code when considering an app in its entirety (framework + logic).


Interesting point. Definitely worth considering. Thanks.




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

Search: