Re: [netmod] [Editorial Errata Reported] RFC7950 (5642)

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Fri, 22 February 2019 13:15 UTC

Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 53301129619 for <netmod@ietfa.amsl.com>; Fri, 22 Feb 2019 05:15:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id c_UrfeOyBJFJ for <netmod@ietfa.amsl.com>; Fri, 22 Feb 2019 05:15:54 -0800 (PST)
Received: from atlas5.jacobs-university.de (atlas5.jacobs-university.de [212.201.44.20]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 763B1128766 for <netmod@ietf.org>; Fri, 22 Feb 2019 05:15:54 -0800 (PST)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas5.jacobs-university.de (Postfix) with ESMTP id E6EC56CF; Fri, 22 Feb 2019 14:15:52 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from atlas5.jacobs-university.de ([10.70.0.217]) by localhost (demetrius5.jacobs-university.de [10.70.0.222]) (amavisd-new, port 10032) with ESMTP id G5oBVDizWtaW; Fri, 22 Feb 2019 14:15:52 +0100 (CET)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hermes.jacobs-university.de", Issuer "Jacobs University CA - G01" (verified OK)) by atlas5.jacobs-university.de (Postfix) with ESMTPS; Fri, 22 Feb 2019 14:15:52 +0100 (CET)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by hermes.jacobs-university.de (Postfix) with ESMTP id C95A320058; Fri, 22 Feb 2019 14:15:52 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius5.jacobs-university.de [10.70.0.222]) (amavisd-new, port 10028) with ESMTP id e0t3Y12Yc4Gl; Fri, 22 Feb 2019 14:15:52 +0100 (CET)
Received: from exchange.jacobs-university.de (sxchmb03.jacobs.jacobs-university.de [10.70.0.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "exchange.jacobs-university.de", Issuer "DFN-Verein Global Issuing CA" (verified OK)) by hermes.jacobs-university.de (Postfix) with ESMTPS id 4787320057; Fri, 22 Feb 2019 14:15:51 +0100 (CET)
Received: from anna.localdomain (10.50.218.117) by sxchmb03.jacobs.jacobs-university.de (10.70.0.155) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1591.10; Fri, 22 Feb 2019 14:15:50 +0100
Received: by anna.localdomain (Postfix, from userid 501) id 4AE2830069D26F; Fri, 22 Feb 2019 14:15:49 +0100 (CET)
Date: Fri, 22 Feb 2019 14:15:49 +0100
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Balázs Lengyel <balazs.lengyel@ericsson.com>
CC: Andy Bierman <andy@yumaworks.com>, Martin Bjorklund <mbj@tail-f.com>, Ignas Bagdonas <ibagdona@gmail.com>, Peter Loborg <peter.loborg@ericsson.com>, Warren Kumari <warren@kumari.net>, NetMod WG <netmod@ietf.org>, RFC Editor <rfc-editor@rfc-editor.org>
Message-ID: <20190222131549.4jetuckdsectna5h@anna.jacobs.jacobs-university.de>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: Balázs Lengyel <balazs.lengyel@ericsson.com>, Andy Bierman <andy@yumaworks.com>, Martin Bjorklund <mbj@tail-f.com>, Ignas Bagdonas <ibagdona@gmail.com>, Peter Loborg <peter.loborg@ericsson.com>, Warren Kumari <warren@kumari.net>, NetMod WG <netmod@ietf.org>, RFC Editor <rfc-editor@rfc-editor.org>
References: <20190221163919.5196EB81AF4@rfc-editor.org> <20190221.175336.1995849216024607593.mbj@tail-f.com> <CABCOCHQMAq-vzANerP3ehY1y9fiiQZKY_S4dEh0qfhO=7bS8hA@mail.gmail.com> <eaa99bfa-16ca-8164-0fdf-7a873ef26ee0@ericsson.com> <20190222110756.bsggrzyxjtft7heg@anna.jacobs.jacobs-university.de> <af04bd6a-9177-f9cf-9b6a-5779ecacf743@ericsson.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Disposition: inline
In-Reply-To: <af04bd6a-9177-f9cf-9b6a-5779ecacf743@ericsson.com>
User-Agent: NeoMutt/20180716
X-ClientProxiedBy: SXCHMB02.jacobs.jacobs-university.de (10.70.0.121) To sxchmb03.jacobs.jacobs-university.de (10.70.0.155)
X-Clacks-Overhead: GNU Terry Pratchett
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/rouwfibprOF38Jr1-MHiHcnvgwQ>
Subject: Re: [netmod] [Editorial Errata Reported] RFC7950 (5642)
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Feb 2019 13:15:56 -0000

On Fri, Feb 22, 2019 at 12:45:16PM +0000, Balázs Lengyel wrote:
>    I am not asking for a change, but ...
> 
>    IMHO it would be better if YANG would not allow whitespace in enum names.
>    It is a rarely needed freedom that degrades usability and can lead to
>    mistakes
>    and higher tool development costs. So it is bad for both people and tools.
> 
>      * It is misleading, as a human user can mistakenly think that "this is
>        legal" is actually 3 separate values
>      * Some tools tend to consider spaces as separators
>      * When creating code from YANG this needs special handling
>

Banning white space may make you feel better but it does not really
solve the problem for tool makers. There are many more restrictions
and going for the most restricted minimum gets us back to really
limiting results.

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>