From: Achilleas Mantzios - cloud <a.mantzios@cloud.gatewaynet.com>
To: pgsql-general@lists.postgresql.org
Subject: pl/pgsql outside the DB, (i.e. on the terminal) possible ?
Date: Thu, 7 Mar 2024 16:56:18 +0200
Message-ID: <596a6961-553e-3781-7aed-9dba969a18a5@cloud.gatewaynet.com> (raw)
Hello
I notice both my kids struggling with either C or Python as first
programming languages. I believe both are unsuitable for use as
introductory languages to college juniors.
Python IMHO is too advanced, too rich, weird indentation rules, no
simple for loop etc.
C, ok, punishing little kids with segmentation faults, calling by value
VS by reference and 3ple pointers is pure sadism.
So this brings me to memory good old PASCAL from the time I was junior,
circa 1986. PL/SQL resembles PASCAL heavily. Everything seems well
defined, strong typing, simplicity, I think it has everything a
programming language should have in order to be taught as an
introductory language. But it lacks IO and file handling.
So, I ask, have there been any efforts to bring PL/PGSQL to the terminal?
Thanks!
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: a.mantzios@cloud.gatewaynet.com
Subject: Re: pl/pgsql outside the DB, (i.e. on the terminal) possible ?
In-Reply-To: <596a6961-553e-3781-7aed-9dba969a18a5@cloud.gatewaynet.com>
References: <596a6961-553e-3781-7aed-9dba969a18a5@cloud.gatewaynet.com>
* 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