Harlan Messinger said:
dorayme wrote: ....
Even then, if you decided the red ones should be purple, so that you
wound up with
a:link.red { color: purple; }
does the target audience justify the anomaly?
No, it does not. I was thinking the justification was rather for the
author's/author supervisor/webmaster-elect's ease. I won't put the bells
and whistles on this because I did in answer to Beauregard on this issue
yesterday in another thread (may have been in another group?).
I also attacked the argument from change you are putting and suggested
it was not the towering strength it seemed. Authors should weigh the
pros and cons and there are both and the action taken either way can be
wise depending on the context. I am not recommending color or position
class names.
Lacking truly meaningful
names one could assign to classes in this case, I think the context
would be "We need an assortment of five colors, however arbitrary they
may be, to make this a festive page for the kiddies", and, therefore,
choose class names color1, color2, color3, color4, and color5, with the
names indicating exactly the level of abstraction required for this
application.
Look, I think you have a very fair point, especially if the list is
long, if a lot of things. But I don't *think* I am making just the
obvious point that one can relax the main principle when it is trivial
or unimportant?
I think, sometimes, where there is a short list or a simple positional
layout, it can be more useful to use positional or other visual
identification words and I would not be surprised if it could be so in
some contexts I am not aware off right now. I am talking contexts where
it is not hard for authors to change the class names when the need
arises to stop alleged red things being green and alleged left things
being right.
People differ in what they find easy or confusing. I know I find it
easier in development to *sometimes* use presentational-type names for
classes, And at least with my own sites, I sometimes find them easier to
read this way later on. It would not surprise me that others would too
and that the advantages of this sometimes weigh more than the
disadvantages.