Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

You are confused; but this is your normal state.


comp / comp.misc / Re: Why Strict YAML Refuses To Do Implicit Typing

SubjectAuthor
* Re: Why Strict YAML Refuses To Do Implicit TypingStefan Ram
`- Re: Why Strict YAML Refuses To Do Implicit TypingLawrence D'Oliveiro

1
Subject: Re: Why Strict YAML Refuses To Do Implicit Typing
From: Stefan Ram
Newsgroups: comp.misc
Organization: Stefan Ram
Date: Wed, 24 Apr 2024 11:39 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: ram@zedat.fu-berlin.de (Stefan Ram)
Newsgroups: comp.misc
Subject: Re: Why Strict YAML Refuses To Do Implicit Typing
Date: 24 Apr 2024 11:39:56 GMT
Organization: Stefan Ram
Lines: 7
Expires: 1 Feb 2025 11:59:58 GMT
Message-ID: <HTML-20240424123915@ram.dialup.fu-berlin.de>
References: <slrnv2gtfc.icd.bencollver@svadhyaya.localdomain>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de tdC1uFIIYpQ/SCmKz+GGxA5omLJcy5PQ5sgkHaCwYWBXqR
Cancel-Lock: sha1:9XaWA4tkIDM4ThyKF02VIcg9fMI= sha256:PtbhO5InIkZzmrypnHn3Gv3ltrq2avgdv4yXcWiuEq4=
X-Copyright: (C) Copyright 2024 Stefan Ram. All rights reserved.
Distribution through any means other than regular usenet
channels is forbidden. It is forbidden to publish this
article in the Web, to change URIs of this article into links,
and to transfer the body without this notice, but quotations
of parts in other Usenet posts are allowed.
X-No-Archive: Yes
Archive: no
X-No-Archive-Readme: "X-No-Archive" is set, because this prevents some
services to mirror the article in the web. But the article may
be kept on a Usenet archive server with only NNTP access.
X-No-Html: yes
Content-Language: en-US
View all headers

Ben Collver <bencollver@tilde.pink> wrote or quoted:
>StrictYAML sidesteps this problem by ignoring key parts of the spec,
>in an attempt to create a "zero surprises" parser.

HTML went the opposite way. Back in the day, quotation marks around
attributes were mandatory, no ifs or buts. But nowadays, you can
sometimes skip 'em, depending on what's inside the attribute!

Subject: Re: Why Strict YAML Refuses To Do Implicit Typing
From: Lawrence D'Oliv
Newsgroups: comp.misc
Organization: A noiseless patient Spider
Date: Wed, 24 Apr 2024 22:24 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.misc
Subject: Re: Why Strict YAML Refuses To Do Implicit Typing
Date: Wed, 24 Apr 2024 22:24:35 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <v0c0r3$2ihq5$8@dont-email.me>
References: <slrnv2gtfc.icd.bencollver@svadhyaya.localdomain>
<HTML-20240424123915@ram.dialup.fu-berlin.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 25 Apr 2024 00:24:36 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="962cdf4b668ef58e236ab9c5f423d5d6";
logging-data="2705221"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18yJGGCDQFIws3i70YW+ihP"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:iCf0p0YP7NETNIZPENGI34REER4=
View all headers

On 24 Apr 2024 11:39:56 GMT, Stefan Ram wrote:

> HTML went the opposite way. Back in the day, quotation marks around
> attributes were mandatory, no ifs or buts. But nowadays, you can
> sometimes skip 'em, depending on what's inside the attribute!

HTML was originally an “application” of SGML, and followed its
conventions. Which meant that quotation marks were optional if there was
no confusion.

Nowadays, we put them in as a matter of course.

Omitted closing tags are still with us.

1

rocksolid light 0.9.8
clearnet tor