Re: [YANG] so many naming scopes

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Thu, 10 January 2008 08:09 UTC

Return-path: <yang-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1JCsTX-0007ls-9c; Thu, 10 Jan 2008 03:09:19 -0500
Received: from yang by megatron.ietf.org with local (Exim 4.43) id 1JCsTW-0007ea-EJ for yang-confirm+ok@megatron.ietf.org; Thu, 10 Jan 2008 03:09:18 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1JCsTW-0007d6-0G for yang@ietf.org; Thu, 10 Jan 2008 03:09:18 -0500
Received: from hermes.jacobs-university.de ([212.201.44.23]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1JCsTV-0001yR-JZ for yang@ietf.org; Thu, 10 Jan 2008 03:09:17 -0500
Received: from localhost (demetrius.jacobs-university.de [212.201.44.32]) by hermes.jacobs-university.de (Postfix) with ESMTP id 1A7088A256; Thu, 10 Jan 2008 09:09:17 +0100 (CET)
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id 14441-03; Thu, 10 Jan 2008 09:09:12 +0100 (CET)
Received: from elstar.local (elstar.iuhb02.iu-bremen.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 7B4888A24E; Thu, 10 Jan 2008 09:09:12 +0100 (CET)
Received: by elstar.local (Postfix, from userid 501) id 5DA6546072C; Thu, 10 Jan 2008 09:09:11 +0100 (CET)
Date: Thu, 10 Jan 2008 09:09:11 +0100
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Balazs Lengyel <balazs.lengyel@ericsson.com>
Subject: Re: [YANG] so many naming scopes
Message-ID: <20080110080911.GC5872@elstar.local>
Mail-Followup-To: Balazs Lengyel <balazs.lengyel@ericsson.com>, yang@ietf.org
References: <200801082230.m08MUP3O095222@idle.juniper.net> <012701c852d5$ff6ffc60$0601a8c0@pc6> <4784FD0D.6020103@andybierman.com> <20080109224627.GE5390@elstar.local> <4785CFCA.4000506@ericsson.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4785CFCA.4000506@ericsson.com>
User-Agent: Mutt/1.5.17 (2007-11-01)
X-Virus-Scanned: amavisd-new 2.3.3 (20050822) at jacobs-university.de
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 9466e0365fc95844abaf7c3f15a05c7d
Cc: yang@ietf.org
X-BeenThere: yang@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: j.schoenwaelder@jacobs-university.de
List-Id: YANG modeling Language for NETCONF <yang.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/yang>, <mailto:yang-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/yang>
List-Post: <mailto:yang@ietf.org>
List-Help: <mailto:yang-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/yang>, <mailto:yang-request@ietf.org?subject=subscribe>
Errors-To: yang-bounces@ietf.org

On Thu, Jan 10, 2008 at 08:56:58AM +0100, Balazs Lengyel wrote:
>
>
> Juergen Schoenwaelder wrote:
>> Usage guidelines and "coding styles" are valuable. But they should not
>> be part of the language itself. The example above is not ambiguous and
>> easy to parse for a machine - even though it might look stupid to most
>> humans.
>>
> I think our yardstick should be whether the example is easy to
> understand for humans. "Easy for machine" is far from enough.

Sorry, I fail to get your point. Do you want to have a rule in the
language saying "people must not use stupid identifiers"? This is
really what we are talking about here and my point is that trying to
define what makes a stupid identifier is a waste of time for the
language definition itself. A good language will deal with stupid and
non-stupid identifiers the same way.

/js

PS: We really need an April 1st RFC defining a standard for good code
    so that by claiming compliance to this RFC, we will eliminate all
    bad smelling code from the world. ;-)

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


_______________________________________________
YANG mailing list
YANG@ietf.org
https://www1.ietf.org/mailman/listinfo/yang