Re: pl/pgsql outside the DB, (i.e. on the terminal) possible ?

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Achilleas Mantzios - cloud <a(dot)mantzios(at)cloud(dot)gatewaynet(dot)com>, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: pl/pgsql outside the DB, (i.e. on the terminal) possible ?
Date: 2024-03-07 16:33:14
Message-ID: 30d98820-55e1-4f4d-b6f1-22dd7de81d51@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 3/7/24 06:56, Achilleas Mantzios - cloud wrote:
> 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.

What the cool kids are using:)?

https://www.rust-lang.org/

https://doc.rust-lang.org/rust-by-example/

This old non-professional programmer could see learning this, so young
minds should be able to grasp it.

>
> 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!
>
>
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Markur Sens 2024-03-07 16:38:54 Re: pl/pgsql outside the DB, (i.e. on the terminal) possible ?
Previous Message Pavel Stehule 2024-03-07 16:25:25 Re: pl/pgsql outside the DB, (i.e. on the terminal) possible ?