logoalt Hacker News

davidpapermilllast Tuesday at 3:14 PM0 repliesview on HN

Agreed, it's about _imperative_ vs _declarative_ languages.

The problem with languages like LaTeX etc. is they treat a document as a linear sequence of instructions: "write this text", "switch to justify right" etc. - I think that made sense when LaTeX was created, but publishing has come a long way and imperative thinking doesn't help.

A declarative form of document is the way forward. HTML is -kind of- like that, but unfortunately the assumption that a document is a linear list of stuff is still in there. That's one reason it doesn't work well for print.