pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter J. Holzer <hjp-pgsql@hjp.at>
To: pgsql-general@lists.postgresql.org
Subject: Re: Camel case identifiers and folding
Date: Sat, 16 Mar 2019 22:46:41 +0100
Message-ID: <20190316214641.bzyg7o5qv3bolvt4@hjp.at> (raw)
In-Reply-To: <0536E5C1-A419-43B3-8083-19020439ABE7@gmail.com>
References: <CAJrKPxc69dMNJAE=3Y5mG56sXwQLRqXZnN4inZQ3EXdwZFqH2Q@mail.gmail.com>
	<1552641160.5846.2.camel@ucll.be>
	<CAKqnccin-0hXKM8q527kvSG=pOGrqUZy2VHsZd4-dWOc29nG=w@mail.gmail.com>
	<7D62A9A2-C784-47A9-96BC-5949D0C8348E@gmail.com>
	<20190316174021.wcpjdoyize6f2gw5@hjp.at>
	<0536E5C1-A419-43B3-8083-19020439ABE7@gmail.com>

On 2019-03-16 14:00:34 -0600, Rob Sargent wrote:
>         What sort of content is in your field of type text?  Certainly, in
>         English
>         prose, “rob” is different than “Rob”
> 
> 
>     I disagree. While the grammar for written English has rules when to
>     write "rob" and when to write "Rob", that distinction usually carries no
>     semantic difference. Consider:
[...]
> I don’t think it’s solely about the semantics.  One might be contractually
> obligated to always spell a name in some exact way including it capitalization.
> For instance if referring to "Rob Sargent” as a quote or accreditation, then
> it’s not okay to let a typo “rob Sargent” go through.

1) Such contracts might exist, but they are only binding to the signing
parties, they don't affect what is commonly understood as "the English
language". Everybody else will see it as an obvious typo and won't
assume that this refers to some "rob Sargent" who is a different person
than "Rob Sargent".

2) I don't think the OP was talking about spell-checking. And in any
case spell-checking is more complicated than simply comparing strings
byte by byte.

        hp


-- 
   _  | Peter J. Holzer    | we build much bigger, better disasters now
|_|_) |                    | because we have much more sophisticated
| |   | hjp@hjp.at         | management tools.
__/   | http://www.hjp.at/ | -- Ross Anderson <https://www.edge.org/;

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (20+ messages)  latest in thread

Message-ID: <20190316214641.bzyg7o5qv3bolvt4@hjp.at>
Permalink:  ../20190316214641.bzyg7o5qv3bolvt4@hjp.at/
Also on:    postgresql.org/message-id/20190316214641.bzyg7o5qv3bolvt4@hjp.at

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: hjp-pgsql@hjp.at
  Subject: Re: Camel case identifiers and folding
  In-Reply-To: <20190316214641.bzyg7o5qv3bolvt4@hjp.at>
  References: <CAJrKPxc69dMNJAE=3Y5mG56sXwQLRqXZnN4inZQ3EXdwZFqH2Q@mail.gmail.com> <1552641160.5846.2.camel@ucll.be> <CAKqnccin-0hXKM8q527kvSG=pOGrqUZy2VHsZd4-dWOc29nG=w@mail.gmail.com> <7D62A9A2-C784-47A9-96BC-5949D0C8348E@gmail.com> <20190316174021.wcpjdoyize6f2gw5@hjp.at> <0536E5C1-A419-43B3-8083-19020439ABE7@gmail.com> <20190316214641.bzyg7o5qv3bolvt4@hjp.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox