[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [ubl-clsc] My additions to the Code List Design Requirements
agreed
____________________
Alan Stitzer
AVP
Marsh USA Inc.
1166 Avenue of the Americas
New York, NY 10036-2774
Phone: (561) 743-1938
Fax: (561) 743-1993
Internet: [email protected]
____________________
<<< Memo from [email protected]@Internet on 18 January,
2004, 05:46:28 PM Sunday >>>
[email protected]@Internet on 18 Jan 2004, 17:46 Sunday
Please respond to [email protected]@Internet
To: ubl-clsc
cc: (bcc: Alan Stitzer)
Subject: Re: [ubl-clsc] My additions to the Code List Design
Requirements
** Reply to message from [email protected] on Wed, 14 Jan 2004
14:35:32
-0500
> [R19] A list of the values (codes) for a code list
>
> The code list must contain at least three (3) valid values to be
considered
> a code list. If a code list contains only two values, it should be
> considered a "boolean".
I must admit, it is not uncommon for people to use a boolean value to
represent
a choice between just two items. In my opinion, it is often a mistake.
Many
choices between two items are not really boolean choices. For example,
suppose
sets of tea cups are available in white or blue. You could map that choice
onto a boolean value, but when sets of red tea cups become available the
next
year, rewriting your boolean code to account for the existence of 3 values
could be expensive.
When mapping to a boolean value, the issue is not just whether you have two
values. Rather, you have to ask whether the two values you have are the
only
two values that could ever be possible. If not, then a boolean is the
wrong
choice. This is my guiding rule, anyway.
Cheers,
Tony.
====
Anthony B. Coates
London Market Systems Limited
33 Throgmorton Street, London, EC2N 2BR
http://www.londonmarketsystems.com/
mailto:[email protected]
Mobile/Cell: +44 (79) 0543 9026
[MDDL Editor (Market Data Definition Language), http://www.mddl.org/]
[FpML Arch WG Member (Financial Products Markup Language),
http://www.fpml.org/]
-----------------------------------------------------------------------
This Email may contain confidential information and/or copyright material
and is intended for the use of the addressee only.
Any unauthorised use may be unlawful. If you receive this Email by mistake
please advise the sender immediately by using the reply facility in your
e-mail software.
Email is not a secure method of communication and London Market Systems
Limited cannot accept responsibility for the accuracy or completeness of
this message or any attachment(s). Please examine this email for virus
infection, for which London Market Systems Limited accepts no
responsibility. If verification of this email is sought then please request
a hard copy. Unless otherwise stated any views or opinions presented are
solely those of the author and do not represent those of London Market
Systems Limited.
To: [email protected]@Internet
cc: (bcc: CN=Alan Stitzer/OU=NYC-NY/OU=US/OU=Marsh/O=MMC)
From: [email protected]@Internet
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]