On Thu, 24 Aug 2006 12:19:47 +0200 "Sander van Dijk" <a.h.vandijk_AT_gmail.com> wrote:
> > Well...those few configuration #defines are surely not the problem
> > with the 10kloc limit. As you have to change the colour for drawing
> > a frame anyways, why don't keep a seperate #define for this?
> > (In my case it will be border-colour = background-colour).
> > #defines don't produce more code at all, so why save on them that
> > avariciously?
>
> It's not the amount of #define's that bother me, but the amount of
> colors to configure. I know that just two extra bordercolors isn't
> much, but where do you draw the line? Someone else might want separate
> colors for the stdin status thing on the right, or for the titles on
> non-focused windows.
Actually, it would be a good idea. Those are different contents being
presented in the dwm bar, so they should be distinguished.
> To me, part of minimalism is keeping the amount
> of stuff that you can/have to configure small, leaving only things
> that matter 'sufficiently' configurable (I'm well aware that that's
> not objectively determinable).
Well, it should try to reduce the amount that _has_ to be configured,
but it shouldn't reduce what may be configured. The default could
still be
#define STATUS_FOREGROUND NORMAL_FOREGROUND
> For exactly this reason, the removal of
> DEFTAG was a good idea, for instance.
Don't think so, those defines even make the code more readable,
as you can _read_ what this colour (or any other number) is
about.
> Dunno if you've ever tried to
> configure MS Windows' color/fontscheme, but that's a situation I'd
> like to avoid for dwm (in fact, if one could take for granted that
> fore- and background color look good and are readable when inverted
> too, I would have suggested to just use two colors instead of four).
Yes I did (>10 years ago). What's the problem with it? Even though
some defaults may look good, I didn't like most. That's personal
taste and may even change. And in contrast to changing the colour
of my car, changing the colour of my wm is no huge effort (neither
for the user nor for the programmer in this case).
And if it takes more LOC to produce better readable code, I prefer
the larger one... (i.e. I'd leave DEFTAG in, e.g.).
Regards,
Stefan
-- "Feel free" – 10 GB Mailbox, 100 FreeSMS/Monat ... Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmailReceived on Thu Aug 24 2006 - 13:02:05 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:30:26 UTC