News for hackers. Stuff that matters.
Re:Why Programmers Suck at CSS Design by sh1mmer on Sunday April 19, 2009 @05:26PM (#569820)
You still shouldn't use @import, which is a designer sucking programming. @import can cause FOUC as well as slowing down page render a lot.
Re:Why Programmers Suck at CSS Design by addicttostress on Sunday April 19, 2009 @07:08PM (#569916)
Re:Why Programmers Suck at CSS Design by woodsier on Sunday April 19, 2009 @10:37PM (#570091)
I had a good chuckle when that was essentially the first tip.
Re:Why Programmers Suck at CSS Design by DenisM on Sunday April 19, 2009 @03:42PM (#569701)
Re:Why Programmers Suck at CSS Design by windsurfer on Sunday April 19, 2009 @05:36PM (#569827)
What is this, digg? So what if it's a duplicate? I am here to discuss with fellow HNers as much as for reading interesting articles.

Also, I joined only 133 days ago, long after this article was on the front page.

Re:Why Programmers Suck at CSS Design by wayne on Sunday April 19, 2009 @05:38PM (#569831)
It's good to know about dupes. If nothing else, if you're interested in the article you can read the HN comments on the other page.
Re:Why Programmers Suck at CSS Design by windsurfer on Sunday April 19, 2009 @05:58PM (#569840)
True, good point. You still lack the ability to discuss, though.
Re:Why Programmers Suck at CSS Design by access_denied on Sunday April 26, 2009 @10:13AM (#579964)
Yes one should be able to subscribe to one topic even if one didn't enter into to discussion.
Re:Why Programmers Suck at CSS Design by DenisM on Sunday April 19, 2009 @09:16PM (#570026)
The OP was informing the audience that this was submitted before. This is useful so that those who have seen it already (the majority) can recognize it and possibly move on, and others could go read up on the previous comments - accumulating knowledge rather than rehashing it is the basic tenet of progress.

Kindly calm down and refrain from acting out based on things you have imagined the post says.

Re:Why Programmers Suck at CSS Design by whalesalad on Sunday April 19, 2009 @06:53PM (#569906)
Re:Why Programmers Suck at CSS Design by thristian on Sunday April 19, 2009 @10:51PM (#570104)
"Some browsers ship with default stylesheets that are simply horrible. One notorious problem, for example, is the <table> tag that forgets to inherit font settings from its parents."

That's not 'bumbling browser makers can't create sensible default stylesheets', that's 'pages in quirks mode duplicate the oddities of Netscape 4 as closely as possible'. Use a DOCTYPE that triggers standards mode, validate your HTML and you'll find a lot of CSS things get much easier.

Re:Why Programmers Suck at CSS Design by rue on Sunday April 19, 2009 @04:17PM (#569749)
The post actually contained some very good tips for any beginning designer, although the title does the article a disservice ("Why Do Web Designers Suck at Programming?")
Re:Why Programmers Suck at CSS Design by enneff on Sunday April 19, 2009 @06:46PM (#569898)
I am REALLY tired of these "why x suck at y" articles. Are these bloggers so devoid of inspiration or creativity? Honestly I find this particular title offensive as I'm a programmer who is frequently forced to fix the broken CSS of so-called "designers".
Re:Why Programmers Suck at CSS Design by jerryji on Sunday April 19, 2009 @04:19PM (#569752)
Because some do not care enough about other users' experience -- like didn't bother submitting the proper permalink at the bottom of the page.
Re:Why Programmers Suck at CSS Design by briansmith on Sunday April 19, 2009 @10:11PM (#570064)
Blame the website designer as much as the submitter. Submitters shouldn't have to think about "permalinks".
Re:Why Programmers Suck at CSS Design by tjogin on Monday April 20, 2009 @08:47AM (#570572)
Programmers suck at design because it isn't programming, it's design.
Re:Why Programmers Suck at CSS Design by Hexstream on Sunday April 19, 2009 @06:19PM (#569864)
For color picking, HSV is very much better than RGB. With HSV though, I still don't have a good intuition for Saturation VS Value tuning so it seems there could be an even better color system.

Munsell appears to be that system, however there doesn't seem to be any public description of it that would allow one to implement it so you have to use some proprietary crap. I think that's a real loss for humanity.

http://en.wikipedia.org/wiki/HSV_color_space

http://en.wikipedia.org/wiki/Munsell

Re:Why Programmers Suck at CSS Design by systems on Sunday April 19, 2009 @03:56PM (#569726)
My experience is that the same programmers who suck at CSS design, are the same who suck at GUI design, and the same who suck at creating modular code , and the same who hardly ever indent their code, and the same who write spaghetti code,

... and the same programmers who thinks that if it runs, its good ... and the same who are just not good programmers.

Think about it, if you are a generally good programmer, you would never create a bad UI, CSS or otherwise! ... Linus Torvalds as far as I know don't create UIs, he is a very good programmer too

Re:Why Programmers Suck at CSS Design by satyajit on Sunday April 19, 2009 @06:13PM (#569859)
Let's face it. CSS design is a visual art, and not every programmer is good at it. You either have it or don't. I have seen many programmers who do a fine job with CSS.
Re:Why Programmers Suck at CSS Design by TJensen on Monday April 20, 2009 @12:24AM (#570205)
I think the article nailed it in that most programmers think they aren't any good because they have no clue where to start. With no training and a non-obvious technique (and perhaps some intimidation at trying and failing), programmers just say "I can't do it."

I would bet most programmers could do an OK job at designing things (at least, not painful :). But great design is still talent that has to be worked at, and I think it is hard for anybody to get to that point without devoting him/herself to it (and probably having innate talent as well).

Re:Why Programmers Suck at CSS Design by jhancock on Sunday April 19, 2009 @09:16PM (#570027)
I fit the stereotype. compass has saved me http://github.com/chriseppstein/compass/tree/master

With compass I get a programmer's mindset and lots of predefined typography goodness. It still takes lots of work, but I have been able to produce a clean site now.

Re:Why Programmers Suck at CSS Design by intranation on Sunday April 19, 2009 @06:16PM (#569862)
In the article he mentions using @import over LINK due to some convoluted logic about "easier to re-use". LINK and @import behave exactly the same, except the well-known performance issues. Why should we trust someone who doesn't actually understand browsers?
Re:Why Programmers Suck at CSS Design by joechung on Sunday April 19, 2009 @09:08PM (#570022)
LINK and @import don't behave the same. LINK styles are evaluated in document order. Evaluation of @import styles is deferred until the end of the document.
Re:Why Programmers Suck at CSS Design by intranation on Monday April 20, 2009 @04:31AM (#570377)
See my caveat: "well-known performance issues".
Re:Why Programmers Suck at CSS Design by joechung on Tuesday April 21, 2009 @05:17PM (#573014)
They're not semantically the same either though so it's not just a performance issue.
Re:Why Programmers Suck at CSS Design by edw519 on Sunday April 19, 2009 @06:29PM (#569881)
Give your page some air

Always my biggest problem. Being a natural maximizer (as many programmers are), I can't stand non-performing real estate. It's taking me a long time to understand that white space is performing, just not the same way that code performs.

Re:Why Programmers Suck at CSS Design by whatusername on Sunday April 19, 2009 @11:35PM (#570143)
Maybe you should use Python more often - then white space does perform!
Re:Why Programmers Suck at CSS Design by TJensen on Monday April 20, 2009 @12:21AM (#570199)
I tend to think of the anti-pattern of this: Jira. That always makes it easy for me to open my pages up.
Re:Why Programmers Suck at CSS Design by juanpablo on Monday April 20, 2009 @03:05AM (#570326)
What works for me is to think that white space isn't "empty space" but instead "space filled with white".
Re:Why Programmers Suck at CSS Design by arjungmenon on Sunday April 19, 2009 @07:54PM (#569954)
Programmers don't suck at CSS Design, it's Stefano's stereotype of programmers that do.
Re:Why Programmers Suck at CSS Design by braindead_in on Sunday April 19, 2009 @03:48PM (#569712)
great tips!