W3C home > Mailing lists > Public > www-html@w3.org > July 2008

Re: name="" deprecated in XHTML

From: Sebastian Mendel <lists@sebastianmendel.de>
Date: Wed, 02 Jul 2008 18:38:14 +0200
Message-ID: <486BAEF6.5030705@sebastianmendel.de>
CC: w3-html <www-html@w3.org>

David Dorward schrieb:
>
> On 1 Jul 2008, at 16:57, Sebastian Mendel wrote:
>> in opposite to class, which could be changed to change styling, naming
>> is something to rely on what does not change, see above
>
> As mentioned, you can change the name of an element to change the styling.
>
>> (in an abstract view ... objects in software are always an abstraction
>> of objects in real world, and classes and names are two different
>> things on real world objects, and this has a reason, sometimes you
>> need to specify a group of objects by its name and sometimes by its
>> class)
>
> In object orientated programming, if you want to get multiple objects,
> then you would store them in an array (or some other kind of object). I
> don't think I've ever encountered a way of accessing multiple objects
> from a single name.
>
>> naming and classifying objects are two different approaches for me
>
>
> I don't see how.
>
> There are two cases that I can see.
>
> (1) You get an object. This can be done by its id.
>
> (2) You get a group of objects that have something in common. The class
> describes what they have in common.
>
> Your name approach seems (to me) to be purely a matter of perception, it
> doesn't add any capabilities.

okay ...

-- 
Sebastian Mendel
Received on Wednesday, 2 July 2008 16:38:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:14 GMT