From: Maciej Sobczak <see.my.homepage@gmail.com>
Subject: Re: Factory Pattern
Date: Thu, 26 Jul 2007 06:02:38 -0700
Date: 2007-07-26T06:02:38-07:00 [thread overview]
Message-ID: <1185454958.105983.143570@l70g2000hse.googlegroups.com> (raw)
In-Reply-To: <1185447702.28126.57.camel@kartoffel>
On 26 Lip, 13:01, Georg Bauhaus <rm.tsoh+bauh...@maps.futureapps.de>
wrote:
> > > Why is being case-insensitive and allowing full Unicode
> > > in identifiers schizophrenic?
>
> > Because the concept of "case" does not apply to all scripts.
Bingo, but not only. Some scripts do have the concept of "case", but
the mapping between upper-case and lower-case is not 1:1. Or even
better, the *length* of sequence changes with case. This introduces
some funny effects when trying to decide whether two sequences have
the same meaning. In the case-insensitive programming language I would
expect that changing the "case" of one character in the identifier
will not change its semantics. How Ada guarantees this for Unicode?
Or maybe is Ada case-insensitive only in the ASCII subset of Unicode?
Sorry, I don't call it "well-designed".
> How does the concept of "case" apply to '-' or '8' in 7bit ASCII?
> The schizophrenia is elsewhere, I'd say :-)
Yes. It's in the motivation.
We can make something case-insensitive in order to *reduce* the number
of characters that are effectively different; and we can provide
support for Unicode in order to *increase* the number of different
characters.
In my very humble opinion both are bad ideas (even separately).
--
Maciej Sobczak
http://www.msobczak.com/
next prev parent reply other threads:[~2007-07-26 13:02 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-25 18:19 Factory Pattern shaunpatterson
2007-07-25 18:28 ` Martin
2007-07-25 18:51 ` Dmitry A. Kazakov
2007-07-25 21:06 ` Georg Bauhaus
2007-07-25 19:27 ` Matthew Heaney
2007-07-26 0:51 ` Jeffrey R. Carter
2007-07-26 6:44 ` Maciej Sobczak
2007-07-26 8:40 ` Georg Bauhaus
2007-07-26 9:53 ` Dmitry A. Kazakov
2007-07-26 11:01 ` Georg Bauhaus
2007-07-26 13:02 ` Maciej Sobczak [this message]
2007-07-26 13:44 ` Dmitry A. Kazakov
2007-07-26 14:58 ` Georg Bauhaus
2007-07-26 22:31 ` Randy Brukardt
2007-07-27 13:07 ` Maciej Sobczak
2007-07-27 14:23 ` shaunpatterson
2007-07-27 22:23 ` Randy Brukardt
2007-07-28 18:56 ` Maciej Sobczak
2007-07-29 7:54 ` Maciej Sobczak
2007-07-29 8:53 ` Dmitry A. Kazakov
2007-07-29 10:53 ` Georg Bauhaus
2007-07-26 16:58 ` Adam Beneschan
2007-07-29 11:38 ` Manuel Gomez
2007-07-27 10:16 ` Jeffrey R. Carter
2007-07-27 12:47 ` Maciej Sobczak
2007-08-26 7:18 ` David Thompson
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox