6 ms·
I agree that it's very cool to transform your display code using macros, but it's a non-starter on many projects, because you can't farm out the HTML/CSS work t
by gcv 17y ago
I agree that it's very cool to transform your display code using macros, but it's a non-starter on many projects, because you can't farm out the HTML/CSS work to a designer.
- draegtun 17y agoOnly farm out CSS. Markup is probably better (in most cases) with the developer IMHO.
- coconutrandom 17y agoPerhaps optimally. But, I've worked with many a developer who couldn't tell you why divs differ from spans.
- draegtun 17y agoWell we've all been there ;-) Still think of the HTML in the same vein has producing JSON, XML, etc. The CSS is then just the design logic maintained (hopefully!) by the designer.
- mahmud 17y agoYou shouldn't farm out markup! HTML generation has nothing to do with layout design or anything visual. You generate/write clean and semantically correct markup and you leave out sufficient hooks in there for any designer to plug-in the desired CSS and graphics. http://news.ycombinator.com/item?id=700147 http://news.ycombinator.com/item?id=700147