3 ms·
Umm ... why? (sorry, that's the most constructive I can get with this)
by CWIZO 13y ago
Umm ... why?
(sorry, that's the most constructive I can get with this)
- namanyayg 13y agoI was thinking the exact same thing while scrolling through the docs.
- bgnm2000 13y agoExactly this.
- ameoba 13y agoBecause you can. Pretty much everyone's had the idea that, since HTML is a structured markup language, you can "simply" represent it in whatever language you're working in. It's great when you're a noob & want to make something ideologically pure. It just turns into a giant pile of unmanagable shit if you try to extend it out to anything remotely resembling a real world application. Even a simple layout like HN would require an incomprehensible mess of nested objects/s-expressions/functions if you chose to abstract the raw HTML away. This is why everyone that actually develops web applications resorts to templates.