Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mQGvT-0005c7-S0 for pgsql-general@arkaria.postgresql.org; Tue, 14 Sep 2021 22:29:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mQGvR-0002gB-W8 for pgsql-general@arkaria.postgresql.org; Tue, 14 Sep 2021 22:29:13 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mQGvR-0002g2-NB for pgsql-general@lists.postgresql.org; Tue, 14 Sep 2021 22:29:13 +0000 Received: from mail.hjp.at ([212.17.106.138] helo=rorschach.hjp.at) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mQGvN-0002OM-LC for pgsql-general@lists.postgresql.org; Tue, 14 Sep 2021 22:29:11 +0000 Received: by rorschach.hjp.at (Postfix, from userid 1000) id DD04F55F9; Wed, 15 Sep 2021 00:29:03 +0200 (CEST) Date: Wed, 15 Sep 2021 00:29:03 +0200 From: "Peter J. Holzer" To: pgsql-general@lists.postgresql.org Subject: Re: The tragedy of SQL Message-ID: Mail-Followup-To: pgsql-general@lists.postgresql.org References: <4dc338ad-b0aa-4f4c-bd9c-4dc76dda9e8b@Spark> <67f0b6d6-9e8d-a27e-ca7c-e91842338180@gmail.com> <62d7895c-a008-4d48-94d5-48aeec23eaf5@Spark> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Ud5TrvXvCPAgcDCb" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --Ud5TrvXvCPAgcDCb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2021-09-14 17:01:40 -0400, Mladen Gogala wrote: > On 9/14/21 15:57, Guyren Howe wrote: > > Verbosity. Redundancy. Lack of orthogonality. Resemblance to English. >=20 > Verbosity is a feature, as well as the resemblance to English. The langua= ge > is meant to be understood by accountants. Once upon a time people were us= ing > something called "COmmon Business Oriented Language" which was also very > verbose, for the same reason: it had to be understandable to the business > people. Let's rephrase that: Back in the 1960s people thought programming would be easier (programs easier to understand and to write) if the syntax looked similar to English prose. That belief was mistaken. While a very simple COBOL program may be readable for a layperson (while even a very simple C program is not, and a Haskell or APL program looks like complete gibberish), they still can't write it, and even the readability advantage quickly vanishes for more complex programs, because while COBOL may look like English, it isn't. SQL is significantly younger than COBOL but its design was led by the same belief that making the language look like ordinary English would make it easy to learn. (It also wasn't the last. A few years back I saw a language for specifying test cases designed for "ordinary people". Again, it looked like English, but wasn't). Superficial syntax is in my experience the smallest hurdle. It's semantics that people struggle with. hp PS: COBOL is still in use. --=20 _ | Peter J. Holzer | Story must make more sense than reality. |_|_) | | | | | hjp@hjp.at | -- Charles Stross, "Creative writing __/ | http://www.hjp.at/ | challenge!" --Ud5TrvXvCPAgcDCb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEETtJbRjyPwVTYGJ5k8g5IURL+KF0FAmFBIh8ACgkQ8g5IURL+ KF2fVA/7BbL8uTCkkRgA0kp4nSr0KJkZIIGvy3kohn2DNIf9zdG6BBsAvYzfGAOQ zcGBHSepeFcwBJ4UOgAHr8LKaUWFKf4RmzALQka3piuJa3iXdUrakqZn+KRp1rg4 gvxKHNk8ovjt5DNsQ6fWYvT+1QLFU4h1lRaxlMGjNqRZKT0oE87f2+qGnxH+A89o 0KRp2sj8/ttS6Z6tLKSRoO/0bDrAUdJch3GGebuyUJtkbq0mTCgVQ/h/xQ3hiINv AUCK4FZ5nFdmmf383mykaFffz8doSzZo3a+GWu755GvWHyU5p5VI9MKma7P76hjM My1QptPBpHOv6VjoJWzg+Q2THfhhlTMbCopghufjrMhbJpAMKfkSUgspf0bj/IuU DDXJafn7m+BAEG0EyeI1KxZvrnTxdYI2VYsdtL89DiLzZ3CsGxUzGBky2oCh1Dxv pDhsZNldIz5+BMcxJhdtePK1H+iSM1YUjpDRs71ic5FXoFQDqz4evfz2A269xZFh MsLD8lrEb2nIwMYRIX921mOl0zDW8STNzhkWIHf22xIsULnQTVI1DDmRqisZvJeF w6OIVBNkw8dm93cOEI5pn8jXRimK8s7NaieflnHsrAkAyZTd93JtbOdlCGsyohWw nv8BrZizKABWbssVrwHNx9aTc5qiIRlNBViYTIJIkNh7O1u96Ho= =5I2G -----END PGP SIGNATURE----- --Ud5TrvXvCPAgcDCb--