Re: [precis] do subclasses need names?

Tony Hansen <tony@att.com> Thu, 12 April 2012 18:33 UTC

Return-Path: <tony@att.com>
X-Original-To: precis@ietfa.amsl.com
Delivered-To: precis@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DE35D21F85C4 for <precis@ietfa.amsl.com>; Thu, 12 Apr 2012 11:33:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.449
X-Spam-Level:
X-Spam-Status: No, score=-106.449 tagged_above=-999 required=5 tests=[AWL=0.150, BAYES_00=-2.599, 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 AG-j6sLMegT0 for <precis@ietfa.amsl.com>; Thu, 12 Apr 2012 11:33:54 -0700 (PDT)
Received: from nbfkord-smmo04.seg.att.com (nbfkord-smmo04.seg.att.com [209.65.160.86]) by ietfa.amsl.com (Postfix) with ESMTP id 7B91221F85B6 for <precis@ietf.org>; Thu, 12 Apr 2012 11:33:54 -0700 (PDT)
Received: from unknown [144.160.20.145] (EHLO mlpd192.enaf.sfdc.sbc.com) by nbfkord-smmo04.seg.att.com(mxl_mta-6.11.0-8) over TLS secured channel with ESMTP id 010278f4.0.1637912.00-261.4556830.nbfkord-smmo04.seg.att.com (envelope-from <tony@att.com>); Thu, 12 Apr 2012 18:33:54 +0000 (UTC)
X-MXL-Hash: 4f8720122b137a6f-3131a25bc005447d2674eac8dcb126e6ff74b514
Received: from enaf.sfdc.sbc.com (localhost.localdomain [127.0.0.1]) by mlpd192.enaf.sfdc.sbc.com (8.14.5/8.14.5) with ESMTP id q3CIXqFr007564 for <precis@ietf.org>; Thu, 12 Apr 2012 14:33:52 -0400
Received: from sflint02.pst.cso.att.com (sflint02.pst.cso.att.com [144.154.234.229]) by mlpd192.enaf.sfdc.sbc.com (8.14.5/8.14.5) with ESMTP id q3CIXlBZ007526 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <precis@ietf.org>; Thu, 12 Apr 2012 14:33:48 -0400
Received: from alpd052.aldc.att.com (alpd052.aldc.att.com [130.8.42.31]) by sflint02.pst.cso.att.com (RSA Interceptor) for <precis@ietf.org>; Thu, 12 Apr 2012 14:33:29 -0400
Received: from aldc.att.com (localhost.localdomain [127.0.0.1]) by alpd052.aldc.att.com (8.14.4/8.14.4) with ESMTP id q3CIXS05020998 for <precis@ietf.org>; Thu, 12 Apr 2012 14:33:28 -0400
Received: from mailgw1.maillennium.att.com (mailgw1.maillennium.att.com [135.25.114.99]) by alpd052.aldc.att.com (8.14.4/8.14.4) with ESMTP id q3CIXOpO020801 for <precis@ietf.org>; Thu, 12 Apr 2012 14:33:24 -0400
Received: from [135.91.110.244] (ds135-91-110-244.dhcps.ugn.att.com[135.91.110.244]) by maillennium.att.com (mailgw1) with ESMTP id <20120412183022gw1004orape> (Authid: tony); Thu, 12 Apr 2012 18:30:24 +0000
X-Originating-IP: [135.91.110.244]
Message-ID: <4F871FEF.8040006@att.com>
Date: Thu, 12 Apr 2012 14:33:19 -0400
From: Tony Hansen <tony@att.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:11.0) Gecko/20120327 Thunderbird/11.0.1
MIME-Version: 1.0
To: "precis@ietf.org" <precis@ietf.org>
References: <CBAB46B8.27764%jhildebr@cisco.com> <4F85FCB0.1080808@stpeter.im>
In-Reply-To: <4F85FCB0.1080808@stpeter.im>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-RSA-Inspected: yes
X-RSA-Classifications: public
X-RSA-Action: allow
X-Spam: [F=0.2000000000; CM=0.500; S=0.200(2010122901)]
X-MAIL-FROM: <tony@att.com>
X-SOURCE-IP: [144.160.20.145]
X-AnalysisOut: [v=1.0 c=1 a=p4QNoMogDYAA:10 a=vnNYxAp2wzwA:10 a=ovYlhi3Uze]
X-AnalysisOut: [kA:10 a=ofMgfj31e3cA:10 a=BLceEmwcHowA:10 a=8nJEP1OIZ-IA:1]
X-AnalysisOut: [0 a=ZRNLZ4dFUbCvG8UMqPvVAA==:17 a=PiNl3Bb_KtmABkbEwOMA:9 a]
X-AnalysisOut: [=wPNLvfGTeEIA:10]
Subject: Re: [precis] do subclasses need names?
X-BeenThere: precis@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Preparation and Comparison of Internationalized Strings <precis.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/precis>, <mailto:precis-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/precis>
List-Post: <mailto:precis@ietf.org>
List-Help: <mailto:precis-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/precis>, <mailto:precis-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 12 Apr 2012 18:33:56 -0000

Using namespace scoping seems reasonable. Just about any separator would 
suffice, as in "::" from C++ & Perl, "." from a variety of languages, 
":" from xml, etc.

     Tony Hansen

PS. I would have called it C++ namespacing.

On 4/11/2012 5:50 PM, Peter Saint-Andre wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> We could go all Perly and do FreeClass::resourcepart
>
> ;-)
>
> On 4/11/12 2:33 PM, Joe Hildebrand wrote:
>> That seems like a reasonable idea.  Is there a suggested naming
>> pattern that denotes the superclass?  E.g. ResourceFreeClass,
>> LocalpartNameClass
>>
>>
>> On 4/11/12 1:54 PM, "Peter Saint-Andre"<stpeter@stpeter.im>
>> wrote:
>>
>> While writing documents that subclass the base PRECIS classes,
>> I've found myself naming the subclasses (e.g., rfc6122bis talks
>> about the localpart subclass of the NameClass and the resourcepart
>> subclass of the FreeClass). Is this something we want to encourage?
>> If so, does it make sense to gather those names when people
>> register new uses of PRECIS as requested in the framework
>> document?
>>
>> Peter