"Adam Beneschan" <adam@[EMAIL PROTECTED]
> wrote in message
news:444c0bf9-a2ad-4280-8d69-58d59938f69e@[EMAIL PROTECTED]
> Again, this doesn't sound reasonable in the context of the sort of
> "business applications" that I used to work on in COBOL. For other
> types of applications, it's probably OK, or Ada.Strings.Unbounded may
> be best. The reason I'm even thinking about all this is that I had
> been hoping for a number of years now that Ada would be able to make
> inroads into "business" applications and maybe be seen as an
> alternative to COBOL, and I'm a bit disappointed that, AFAIK, nothing
> or very little has happened in that arena. Not that I think
> Ada.Strings.Bounded is a major reason for this, or that providing a
> better string-handling facility would help at all. (shrug)
I think that the inability to write a package that "naturally" uses
literals
(and possibly indexing and slicing) for a private type are also large
impediments. (Worse, the current string packages cannot be retrofitted to
use such a capability even if it was added to Ada, lessening the
possibility
of doing that.)
Net-net, I think the string packages are a disaster: just good enough to
prevent them from being properly replaced, but not good enough to use in a
natural way. (And Ada doesn't do anything useful to sup****t UTF-8, which
doesn't help matters any.)
Randy.


|