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

There's nothing declarative about HTML except for its extremely limited use case of rendering text.


HTML is purely declarative.

Each HTML document describes what it wants to have rendered, but does not describe how it should be rendered.


In theory, maybe. In practice, no. I've been round and round on ADA issues, and there is no clear distinction between "meaning" and "presentation". Clean separation is either a pipe dream, or too complex for most mortals to get right. I should become an ADA lawyer because I can now pop the purists' BS and win case$.


Yeah, div soup is so declarative. All I need to do is look at the HTML to understand how my app behaves...oh wait, no I need to reference a CSS class and iterate over 15 cascading rules and then I need to fetch whatever JS is referencing that div to understand how it's being rendered to the page. So declarative.




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

Search: