News for hackers. Stuff that matters.
Re:Beautiful mini language for outputing HTML in Python by dan_sim on Tuesday December 29, 2009 @11:04AM (#1020635)
Is HTML that hard to write?
Re:Beautiful mini language for outputing HTML in Python by wensing on Tuesday December 29, 2009 @11:18AM (#1020662)
If you don't use something like TextMate snippets (or some other auto-completion), then it's definitely overly-time-consuming IMHO.
Re:Beautiful mini language for outputing HTML in Python by showell on Tuesday December 29, 2009 @01:27PM (#1020961)
The movitation behind SHPAML isn't necessarily just to make the markup easier to write; it also tries to make it easier to read.
Re:Beautiful mini language for outputing HTML in Python by olegk on Tuesday December 29, 2009 @01:14PM (#1020925)
Good HTML is hard to write. Look up HTML source of several major websites, and you will see how badly indented it is. 95% of them won't validate. Look at this page. It doesn't even have a doctype.
Re:Beautiful mini language for outputing HTML in Python by wensing on Tuesday December 29, 2009 @02:23PM (#1021071)
That's largely because it's hard to care.

Browsers don't halt when fed less-than-good HTML the same way an interpreter/compiler dies when fed bad syntax.