Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #38170

Re: <iframe> use identifier

From Arno Welzel <usenet@arnowelzel.de>
Newsgroups comp.lang.javascript
Subject Re: <iframe> use identifier
Date 2020-01-28 15:16 +0100
Message-ID <h9au2tFsv8qU1@mid.individual.net> (permalink)
References (2 earlier) <29257c48-e137-4ce9-8eb7-d83faffa1792@googlegroups.com> <r0mmst$1mk2$1@gioia.aioe.org> <c138b04e-3d9b-45ed-a96c-896bd670806d@googlegroups.com> <h98hbiFdm3fU1@mid.individual.net> <6a72bad5-2af7-46a6-9656-62bbd80fe3a6@googlegroups.com>

Show all headers | View raw


On 28.01.20 00:34, Jonas Thörnvall wrote:

[...]
> Well Arno, if you use # to denote ID when you can write ID and . to
> denote Class when you can write class.

So what?

Somehow you need to distinguish, if the selector of a CSS rule means the
HTML element:

<iframe>

or an element with the ID "iframe":

<p id="iframe">

or the class "iframe":

<p class="iframe bordered">

> You have assigned meaning to your hieroglyphs, but after a few
> thousand years of trial an error with the written language, we
> developed semantics "you know sounding characters". That way you did

CSS is not a language for communication. It's a format to define layout
rules. And the goals for CSS selectors was not to have a language which
is self explanatory for people not willing to learn how it works.

And what is the "sound" of characters like ";" and the end of each
statement in JavaScript and what is the "sound" of "<<" compared to "<"?
Or "==" compared to "="?

In every language you have to learn the syntax and syntax also includes
the meaning of certain symbols.

> not have to learn "the hidden blackbox" meaning of a symbol. No there

You do. English has many examples of word written totally different than
you have to pronounce them. You still need to know to rules how to
pronounce words written in a sepecific language. So when you are able to
read something this does not mean that you know how it sounds when you
don't know anything about the language.

> was sounds corresponding to characters, but i see there is some apes
> wanting us to migrate back in time, possibly they would prefer blip
> blop encoding with zeros and ones and playing with registers. But
> they decided that halfway going perl style was enough.

Well - go ahead and create a "natural language to CSS compiler" if you
don't like the official syntax. Maybe you use COBOL as a starting point
and extend it so it can be used to describe CSS rules ;-) *scnr*



-- 
Arno Welzel
https://arnowelzel.de

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

<iframe> use identifier Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-01-26 22:46 -0800
  Re: <iframe> use identifier "R.Wieser" <address@not.available> - 2020-01-27 08:23 +0100
    Re: <iframe> use identifier Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-01-26 23:48 -0800
      Re: <iframe> use identifier Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-01-26 23:59 -0800
        Re: <iframe> use identifier Arno Welzel <usenet@arnowelzel.de> - 2020-01-27 09:47 +0100
      Re: <iframe> use identifier Arno Welzel <usenet@arnowelzel.de> - 2020-01-27 09:46 +0100
      Re: <iframe> use identifier "R.Wieser" <address@not.available> - 2020-01-27 10:49 +0100
  Re: <iframe> use identifier Arno Welzel <usenet@arnowelzel.de> - 2020-01-27 09:42 +0100
  Re: <iframe> use identifier "R.Wieser" <address@not.available> - 2020-01-27 10:41 +0100
    Re: <iframe> use identifier Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-01-27 03:45 -0800
      Re: <iframe> use identifier "R.Wieser" <address@not.available> - 2020-01-27 13:59 +0100
        Re: <iframe> use identifier Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-01-27 05:36 -0800
          Re: <iframe> use identifier Arno Welzel <usenet@arnowelzel.de> - 2020-01-27 17:27 +0100
            Re: <iframe> use identifier Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-01-27 15:34 -0800
              Re: <iframe> use identifier Arno Welzel <usenet@arnowelzel.de> - 2020-01-28 15:16 +0100
              Re: <iframe> use identifier John G Harris <niam@jghnorth.org.uk.invalid> - 2020-01-28 19:08 +0000
                Re: <iframe> use identifier Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-01-28 18:01 -0800
                Re: <iframe> use identifier Arno Welzel <usenet@arnowelzel.de> - 2020-01-29 09:27 +0100

csiph-web