Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Is CSS honestly that difficult? I mean I see why this could help but this just seems to add another layer of complication. I don't know maybe I'm just being a cynic with all these sorry excuses for technology.


The problem with CSS is that it's not too difficult, but that its too simple. With your typical usage patterns, you'll create lots of repetition which you have to do manually. And that's true even without the need to support separate browsers.

Whether that really justifies that many preprocessors is a good question, though (Instead of m4 or sth. like that). I'm not too fond of the plethora of cutesy DSLs we've got nowadays. Reminds me of Lisp macro overuse. (Never mind the general problem that all this need for HTML/JS/CSS hackery and abstraction layers probably showas that we need a better solution altogether. As Cato the Elder said: I miss PostScript.)


This is like saying "Is a hammer really that difficult? Do we really need to add the complication of compressed air? We don 't need these nail guns. I can already get a nail in some wood."

Less compiles to css. It is faster to build great things than with just css. It is easier to maintain. There is almost no reason NOT to us it instead of straight css. There may be other better tools but if you have to build a lot of css, less is a great tool.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: