News for hackers. Stuff that matters.
Re:Beautiful mini language for outputing HTML in Python by andrewcooke on Tuesday December 29, 2009 @09:51PM (#1021797)
so, if i understand right, you think it's better to implement it as a separate language to stop people doing things that you don't think they should do, or think they don't need?

apart from stopping people from doing things, are there any what you might call "positive" reasons - advantages - to doing it your way?

Re:Beautiful mini language for outputing HTML in Python by showell on Wednesday December 30, 2009 @09:13AM (#1022424)
If my post made it sound like I am trying to stop people from doing anything, then it just came out wrong. I do think there are legitimate reasons to mostly build documents within a full-featured programming language, and I wouldn't stop people from doing that. I prefer to build the markup itself in a markup language with lightweight syntax, because documents should be readable, and markup languages have syntax specifically tailored for document readability. Then I supply dynamic content via the templating language.