comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Factory Pattern
Date: Fri, 27 Jul 2007 17:23:30 -0500
Date: 2007-07-27T17:23:30-05:00	[thread overview]
Message-ID: <f8dr4n$m84$1@jacob-sparre.dk> (raw)
In-Reply-To: 1185541668.089363.258220@q75g2000hsh.googlegroups.com

"Maciej Sobczak" <see.my.homepage@gmail.com> wrote in message
news:1185541668.089363.258220@q75g2000hsh.googlegroups.com...
...
> Still, I don't share the motivation for introducing such support into
> the language. There are two reasons for this:
>
> 1. The programming language does not exist in a vacuum and the typical
> software development process involves many more tools than just a
> compiler. Text editor might be useful as well, not mentioning
> countless utilities for automated text processing. They are not
> covered by ARM and do not have to follow its rules. This makes it more
> difficult to work with code that liberally uses Unicode or case-
> agnostic naming - and can be an additional source of mistakes. This
> additional burden and the risk of mistakes is against the Ada spirit
> (as I understant it).
>
> 2. There is no way to escape English and Latin1 character set anyway.
> Not only Ada is very rich in reserved words, there are also tons of
> names in the standard library. All these are English and Latin1. In
> addition, there are third-party libraries, code is moved from one
> project to another, projects are published, companies merge, etc. This
> means that a programmer wanting to use her hieroglyphs in the Ada
> program cannot be consistent with any convention. I, for example, find
> it very disturbing when I see in a single line of code two names in
> different languages and all the companies and projects I've been
> involved in prohibit(ed) such mixes without exceptions - note that I'm
> not a native English speaker, so such rules relate to me directly.
> Interestingly, using localized identifier names does not increase
> readability of the program! Again, not Ada spirit (as I understand
> it).
>
> OK, let's better write some more Latin1 code with standard naming
> convention... ;-)

For what it's worth, I agree with you and would have preferred to leave
identifiers as they were in Ada 95.

However, the requirement for this support came down from above; essentially,
if we wanted Ada to continue to be an ISO standard, we needed to add this
sort of support. (New standards for other languages also will have to add
this sort of support, or take their chances at having their standards fail.)
Even so, we did consider not doing it, but there was enough interest from
some countries that we felt that there was quite a bit of risk that the
standard would fail if we didn't add this support.

To summarize: the decision to add Unicode identifiers was political, not
technical. Complaining about it on technical factors has about as much
relevance as trying to decide a major national issue on merits (say
health-care in the US) -- the technical factors are virtually irrelevant.

                                       Randy.





  parent reply	other threads:[~2007-07-27 22:23 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
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 [this message]
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