Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h5FU6-000684-Dr for pgsql-general@arkaria.postgresql.org; Sat, 16 Mar 2019 20:00:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h5FU3-0001RI-JL for pgsql-general@arkaria.postgresql.org; Sat, 16 Mar 2019 20:00:43 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h5FU2-0001IX-US for pgsql-general@lists.postgresql.org; Sat, 16 Mar 2019 20:00:43 +0000 Received: from mail-pg1-x52c.google.com ([2607:f8b0:4864:20::52c]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h5FTz-0005Bj-2J for pgsql-general@lists.postgresql.org; Sat, 16 Mar 2019 20:00:41 +0000 Received: by mail-pg1-x52c.google.com with SMTP id k11so8686858pgb.8 for ; Sat, 16 Mar 2019 13:00:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=+MlwkJtYsXHfBm4fSzZlzWV62q7eiR+UomyS4iGPwwE=; b=E03YL3itW+XMgIoO6ewioQkxRc2dNYOR9fDxc1mM7OtySs9kT8ME2dGTsUE2759gJh xVzxqm3YPfjXPVpbwi7GilzMJ1mbxf36/gJiPDbyJyqzr4Z24bzpVQHbyQAUu3eH8l6W Bq1F33f+2UqNjCBddPK6QghDhGPIifmtvk6V+ZRKQW39R8cP0Z8T7PxNvXkAm23Bi6ax /P58P447vFFAfaPWFArLqU8Y2a8iw6u7CTUn8VGEm5QbdbxFgvGqbj13/3WF6DVtz3Oo t+4CUNbkHdrglNq8zn7ezHd+Sbspdua8hQhIkwo71Hqmd+yWLBgm81YNrgihEE0mwNU8 uOsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=+MlwkJtYsXHfBm4fSzZlzWV62q7eiR+UomyS4iGPwwE=; b=XCXK2o5hjiodMmxS8dWnV1fyd+dd61NdoMwv7lF4TsmEna7wR2ZVTFQsTvlC+ooJJD ElsGlBd+OcXjb0OOdXzxfBkzPOtp6PabNzhzfnPfh+K15fN4bjldY+HCtD8g2QxB9LA5 pZhTr5rSudGywWxRHtRQaegHHo+bG6A/itSBbTyoDSryPAMwr/yWfzY6bcJ3BAUX/zHm lcGoVdZj/hojAgNGv4fMNFjQJtrJlZ//eHqyYNzc6ns/eBJNsrgKllI7N7Bg7QJ6mFme kyeIaEnng06/88BFeeMxoyJQtwHEnong2Z7x4SFXTRcshJTUdJRoySD/QAi5Su9F5FSu bFmw== X-Gm-Message-State: APjAAAXZT+EUbvbzjtb6ipLe4Ew73qG2PXoNIakFhYuXjNAeWXMTOt57 Q23DJ6laRNLdCnHWBr35LtgLTcRb X-Google-Smtp-Source: APXvYqyBc3IElBmNnGlWKERxiCaZityiOevO6yNkzejjuJ0NNckLl5tSA51WbKaehGnX1W5tzJ8jwQ== X-Received: by 2002:a62:5e46:: with SMTP id s67mr10868993pfb.126.1552766436811; Sat, 16 Mar 2019 13:00:36 -0700 (PDT) Received: from kitselas.hci.utah.edu ([155.100.47.6]) by smtp.gmail.com with ESMTPSA id v9sm8966228pfg.130.2019.03.16.13.00.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 16 Mar 2019 13:00:35 -0700 (PDT) From: Rob Sargent Message-Id: <0536E5C1-A419-43B3-8083-19020439ABE7@gmail.com> Content-Type: multipart/alternative; boundary="Apple-Mail=_441B15D9-0C67-44C5-83BA-1D47A6B8F9CD" Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: Camel case identifiers and folding Date: Sat, 16 Mar 2019 14:00:34 -0600 In-Reply-To: <20190316174021.wcpjdoyize6f2gw5@hjp.at> Cc: pgsql-general@lists.postgresql.org To: "Peter J. Holzer" References: <1552641160.5846.2.camel@ucll.be> <7D62A9A2-C784-47A9-96BC-5949D0C8348E@gmail.com> <20190316174021.wcpjdoyize6f2gw5@hjp.at> X-Mailer: Apple Mail (2.3445.102.3) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --Apple-Mail=_441B15D9-0C67-44C5-83BA-1D47A6B8F9CD Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 >> What sort of content is in your field of type text? Certainly, in = English >> prose, =E2=80=9Crob=E2=80=9D is different than =E2=80=9CRob=E2=80=9D >=20 > 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: >=20 > "How to Rob the Hump of a Camel" >=20 > "the go programming language was invented by rob pike, ken thompson = and > robert griesemer" >=20 > Here "Rob" is a verb and "rob" is a first name, the opposite of what = you > probably intended. Yet the the first sentence is grammatically correct > if it is a title and while the second isn't correct, few people will > have difficulties understanding it (many probably won't even notice = that > it is all lower case). >=20 > Spoken English of course doesn't even have a case distinction. >=20 >> and if the content is for a web page (or in my experience, the = content >> of medical reference books) these differences are critical. >=20 > A web page? Rarely, at least for the human readable parts. Medicine? I > don't know. There may be names for different substances which differ > only in case. But those are parts of a formal language, and as > programmers we already know about case-sensitive formal languages. >=20 I don=E2=80=99t think it=E2=80=99s 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=E2=80=9D as a quote or accreditation, then it=E2=80=99s not okay = to let a typo =E2=80=9Crob Sargent=E2=80=9D go through. --Apple-Mail=_441B15D9-0C67-44C5-83BA-1D47A6B8F9CD Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8

What = sort of content is in your field of type text?  Certainly, in = English
prose, =E2=80=9Crob=E2=80=9D is different than = =E2=80=9CRob=E2=80=9D

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:

"How to Rob the Hump of a Camel"

"the go = programming language was invented by rob pike, ken thompson = and
robert = griesemer"

Here "Rob" is = a verb and "rob" is a first name, the opposite of what you
probably = intended. Yet the the first sentence is grammatically correct
if it is a = title and while the second isn't correct, few people will
have = difficulties understanding it (many probably won't even notice = that
it is all = lower case).

Spoken = English of course doesn't even have a case distinction.

and = if the content is for a web page (or in my experience, the content
of medical reference books) these differences are = critical.

A web page? Rarely, at least for the human readable parts. = Medicine? I
don't know. = There may be names for different substances which differ
only in case. = But those are parts of a formal language, and as
programmers = we already know about case-sensitive formal languages.

I don=E2=80=99t = think it=E2=80=99s 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=E2=80=9D as a quote or accreditation, then it=E2=80=99s not okay = to let a typo =E2=80=9Crob Sargent=E2=80=9D go through.

= --Apple-Mail=_441B15D9-0C67-44C5-83BA-1D47A6B8F9CD--