Re:Beautiful mini language for outputing HTML in Python
by olalonde on Tuesday December 29, 2009 @04:56PM
(#1021406)
Right. I don't see any use case for this syntax especially that modern IDEs offer auto completion .
[ Parent
| on HN ]
Re:Beautiful mini language for outputing HTML in Python
by showell on Tuesday December 29, 2009 @05:26PM
(#1021462)
Modern IDEs inject close tags and angle brackets into the source document. The SHPAML preprocessor injects that syntax into the target document. The use case applies to the person who wants clean syntax in the source document and executable syntax in the target document.
Re:Beautiful mini language for outputing HTML in Python
by silentbicycle on Wednesday December 30, 2009 @08:07AM
(#1022356)
While it's less significant for HTML than code, verbose languages are problematic during reading as well as writing.
While generating stub code for class declarations, getters, setters, etc., can help with writing boilerplate-y OO code quickly, anyone trying to read it to decipher its intent will still have to deal with all the clutter. That's more likely to cause problems in the long run.