Re: cache and d3-style case-insensitivity
- From: Tony Gravagno <address.is.in.posts@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 27 Jun 2007 18:57:21 -0700
Ed Clark wrote:
I will pass your comments on to the project manager.
Case insensitivity is quite a religious issue. D3-centric programmers
are all for it, and programmers from other mv platforms look at D3 and
say "huh?".
My friend, I agree that this can get religious but we're also talking
about basic inability for potential clients to migrate (quickly or
cost-effectively), and ongoing frustration of people who try to get
beyond this basic issue. That's just bad business. I don't like the
way flavors/emulations are handled in many MV environments but I think
it's important that all environments support such things.
People who use a case insensitive environment feel liberated from
endless errors with verbs or files not being found, or with programs
not compiling or running incorrectly. People who have never used a
case-insensitive environment seem to be the only ones complaining
about the feature - and that's only because the other MV DBMS vendors
don't support it so these people have never tried it. This seems
awfully chicken and egg to me.
Outside of migrations, when has case-insensitivity been bad? I've
never accidentally found data that I didn't want to find because it
was in the wrong case but the right letters. I don't know a single
developer who seriously codes Response and RESPONSE to be different
variables. If someone uses Response here and RESPONSE there, we know
they mean the same thing, let them have it. The only time I can see
that "yes" and "YES" can be a problem is if the data gets transferred
to a strongly typed and case-sensitive environment like Java or .NET,
and there developers expect such things. The fact that case
insensitive data is a problem when migrating from D3 to other MV
environments seems to be a self-fulfulling prophecy for which people
then blame Pick Systems.
It's ironic that Pick Systems did something useful and people go
"huh?", but when some other DBMS vendor does something it's lauded as
creative and a sign of progress. At least PS had the foresight to
ensure this feature is optional and can be selectively invoked in
various ways. Other DBMS vendors categorically criticize the feature
and refuse to even provide an option for those who want it. That's
downright authoritarian, and not surprisingly the position is usually
supported by engineers who have been raised in the old church, err...
school.
Why do MV DBMS providers make TCL a little more case-insensitive?
Because it helps users, especially new ones, right? If we're already
agreed that far, then why is increasing the scope of this good feature
considered to be bad?
In a world where MV developers revolt against the rigid and sometimes
ambiguous complexities of object-oriented programming and
RDBMS-enforced referential integrity, how can they as strongly defend
in favor of case sensitivity? A case sensitive environment tends to
be more user-hostile and requires special coding, How many times have
we seen "Yes", "YES", "yes", and "y" rejected because the expected
response is "Y"? In this case the developer is expected to check for
Response[1,1]. Do we really need to force developers to UCASE or
LCASE everything too?
A case-sensitive coding environment to me has the same feeling of
rudeness as someone who posts to forums in all upper case. THIS IS
INTERPRETED AS YELLING - and when I read code I don't want it yelling
at me all the time. This is another area where Caché engineers saw
the value of adding an OPTIONS flag. If we have the option here
because it's a good thing, and code statements themselves are Always
case insensitive (in Caché), it's starting to get really hard to
defend the mandatory case sensitivity elsewhere.
Thanks for your time.
T
.
- References:
- cache
- From: mike ryder
- Re: cache
- From: Excalibur
- Re: cache
- From: Jim Idle
- Re: cache and d3-style case-insensitivity
- From: Ed Clark
- Re: cache and d3-style case-insensitivity
- From: Tony Gravagno
- Re: cache and d3-style case-insensitivity
- From: Ed Clark
- cache
- Prev by Date: Re: a man would delete the french pick page of wikipedia
- Next by Date: list dict bp c/fid in a FSI account
- Previous by thread: Re: cache and d3-style case-insensitivity
- Next by thread: Re: cache and d3-style case-insensitivity
- Index(es):
Relevant Pages
|