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

This has been a debate since long before React or Angular existed. Keeping code and templates together typically makes sense to programmers while keeping the template as html in a separate file means you can edit it in any html editor, no special tools needed. I've always been partial to keeping them together, but working with designers who prefer it the other way, I can at least respect where they are coming from.



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

Search: