Re: [Json] Generators

Carsten Bormann <cabo@tzi.org> Mon, 10 June 2013 14:00 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: json@ietfa.amsl.com
Delivered-To: json@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 72A2E21F93B9 for <json@ietfa.amsl.com>; Mon, 10 Jun 2013 07:00:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.111
X-Spam-Level:
X-Spam-Status: No, score=-106.111 tagged_above=-999 required=5 tests=[AWL=0.138, BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RV9X3alecQNU for <json@ietfa.amsl.com>; Mon, 10 Jun 2013 07:00:15 -0700 (PDT)
Received: from informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::12]) by ietfa.amsl.com (Postfix) with ESMTP id 7B47421F93B7 for <json@ietf.org>; Mon, 10 Jun 2013 07:00:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from smtp-fb3.informatik.uni-bremen.de (smtp-fb3.informatik.uni-bremen.de [134.102.224.120]) by informatik.uni-bremen.de (8.14.4/8.14.4) with ESMTP id r5AE03IG010875; Mon, 10 Jun 2013 16:00:08 +0200 (CEST)
Received: from [192.168.217.105] (p54893267.dip0.t-ipconnect.de [84.137.50.103]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp-fb3.informatik.uni-bremen.de (Postfix) with ESMTPSA id C28A13D7F; Mon, 10 Jun 2013 16:00:02 +0200 (CEST)
Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\))
Content-Type: text/plain; charset="iso-8859-1"
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <20130610132255.GA22228@mercury.ccil.org>
Date: Mon, 10 Jun 2013 16:00:01 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <5F89A4E9-806E-4356-B915-5464A06D65B2@tzi.org>
References: <51B58261.5040808@drees.name> <51b5a11d.0881440a.629d.68d4SMTPIN_ADDED_BROKEN@mx.google.com> <60EAB36FA95E40A180330B3D7F8377F5@marcosc.com> <51B5B17E.5030706@drees.name> <ED155A5427A54EDB9AA8B716BDEDBBFF@marcosc.com> <20130610132255.GA22228@mercury.ccil.org>
To: John Cowan <cowan@mercury.ccil.org>
X-Mailer: Apple Mail (2.1508)
Cc: json@ietf.org, stefan@drees.name, Marcos Caceres <w3c@marcosc.com>
Subject: Re: [Json] Generators
X-BeenThere: json@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "JavaScript Object Notation \(JSON\) WG mailing list" <json.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/json>, <mailto:json-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/json>
List-Post: <mailto:json@ietf.org>
List-Help: <mailto:json-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/json>, <mailto:json-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 10 Jun 2013 14:00:22 -0000

On Jun 10, 2013, at 15:22, John Cowan <cowan@mercury.ccil.org> wrote:

> But a conditional of the form
> "The program MUST do such-and-such if it can", which is what we have
> here, needs to be rewritten as "The program SHOULD do such-and-such."

That is not quite what SHOULD means:

3. SHOULD   This word, or the adjective "RECOMMENDED", mean that there
   may exist valid reasons in particular circumstances to ignore a
   particular item, but the full implications must be understood and
   carefully weighed before choosing a different course.

So "SHOULD" = "MUST unless it can be determined appropriate not to", and we typically try to explain those circumstances and implications in the draft.

The fact that you cannot do such-and-such may not at all make it appropriate not to do such-and-such!
(After all, not being able to do something is typically the result of a design decision, and that decision simply may have been inappropriate in the first place; the SHOULD does not exculpate you here.)

Grüße, Carsten