From: Gavin Flower <GavinFlower@archidevsys.co.nz>
To: Michael Nolan <htfoot@gmail.com>
Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: The tragedy of SQL
Date: Wed, 15 Sep 2021 13:49:39 +1200
Message-ID: <3d4db5f5-376e-8467-a435-e5f45d96991a@archidevsys.co.nz> (raw)
In-Reply-To: <CAOzAquLE35PVi_jipipktAi-aAG9U36wEuVEk-NWL4b3WMfw4A@mail.gmail.com>
References: <4dc338ad-b0aa-4f4c-bd9c-4dc76dda9e8b@Spark>
<d61c6062-32ae-4892-8993-9ad932e10b91@Spark>
<CANW1aT-Q4e7X9zbaxs+r4ccGtZh8W+CA5=ozX6hDhaCrAzbsTQ@mail.gmail.com>
<a6a667c4-0b3c-4505-9530-1c5e54d6e7b0@Spark>
<05ac2565-b692-c73f-93f0-3bbf738e3bfc@gmail.com>
<CAOzAquJF1S0tZ+7Xk5_DZ=tE_hweRo-P6=2Xw68W_KO0ZrK4hA@mail.gmail.com>
<bf51952b-d3bd-7dde-b500-264aa021c5c6@archidevsys.co.nz>
<CAOzAquLE35PVi_jipipktAi-aAG9U36wEuVEk-NWL4b3WMfw4A@mail.gmail.com>
Hi Michael,
Appropriate comments interspersed below.
I'm happy writing SQL and moderately competent using it. But like all
the languages I've used, without exception, it has its pain points.
Cheers,
Gavin
On 15/09/21 11:25, Michael Nolan wrote:
> Of all the languages I wrote in, I think SNOBOL was the most fun to
> write in, and LISP the least fun. Control Data
I once read the first 40 pages of a SNOBOL manuel, but unfortunately
never got the opportunity to try it out.
> assembler language
> programming was probably the most precise, because you could crash the
> OS with a single mis-placed character, something I did more than once.
I knew a senior tech programmer who inadvertently tried to rewind a disc
back to BT and switch to 800 BPI, fortunately only his program crashed.
Another time the memory protection was disabled (ICL no longer had the
capacity to fix it) on our ICL 4/50 MainFrame and someone wrote a
program to write 'J' into an area of memory. That was legitimate, but
it had a bug which caused it to write into more memory than it should
have... The machine crashed. Our ICL 4/50 was the last surviving
operational machine of its type in the world.
Our main machines were two ICL 4/72's each having a single fast 2MHz
processor and a massive 1 MB of core memory with a battery of big
exchangeable disks each with a whopping 60 MB of capacity & tape drives
for 12" reels.
>
> In a graduate-level course, we studied ALGOL-68, which had so many
> things in it that I'm not sure anybody ever actually implemented the
> full language. (But then again, has anybody implemented EVERYTHING in
> the SQL standard?)
I learnt ALGOL-68 from a manual written in Backus-Naur notation on my
own initiative. Tried to write a simple statistics program, never
finished it. That was before I really understood the value of rigorous
indenting standards.
>
> COBOL has strange verbs like 'move corresponding' that could
> accomplish complicated tasks in a few lines but you have to be careful
> that you knew what you were asking for!
In our site that was banned as being too dangerous.
And how about the 'lovely' ALTER GOTO construct???
Children don't try to use these constructs at home, as even experienced
adults get burnt using them!
>
> And I'd take the SQL standard over the CODASYL standard any time!
> --
Agreed!
> Mike Nolan
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: GavinFlower@archidevsys.co.nz, htfoot@gmail.com
Subject: Re: The tragedy of SQL
In-Reply-To: <3d4db5f5-376e-8467-a435-e5f45d96991a@archidevsys.co.nz>
References: <4dc338ad-b0aa-4f4c-bd9c-4dc76dda9e8b@Spark> <d61c6062-32ae-4892-8993-9ad932e10b91@Spark> <CANW1aT-Q4e7X9zbaxs+r4ccGtZh8W+CA5=ozX6hDhaCrAzbsTQ@mail.gmail.com> <a6a667c4-0b3c-4505-9530-1c5e54d6e7b0@Spark> <05ac2565-b692-c73f-93f0-3bbf738e3bfc@gmail.com> <CAOzAquJF1S0tZ+7Xk5_DZ=tE_hweRo-P6=2Xw68W_KO0ZrK4hA@mail.gmail.com> <bf51952b-d3bd-7dde-b500-264aa021c5c6@archidevsys.co.nz> <CAOzAquLE35PVi_jipipktAi-aAG9U36wEuVEk-NWL4b3WMfw4A@mail.gmail.com> <3d4db5f5-376e-8467-a435-e5f45d96991a@archidevsys.co.nz>
* 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