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

From Achilleas Mantzios
Subject Re: pl/pgsql outside the DB, (i.e. on the terminal) possible ?
Date
Msg-id fae82fec-3643-46a8-818d-5a511cac5caf@cloud.gatewaynet.com
Whole thread Raw
In response to Re: pl/pgsql outside the DB, (i.e. on the terminal) possible ?  (Karsten Hilbert <Karsten.Hilbert@gmx.net>)
Responses Re: pl/pgsql outside the DB, (i.e. on the terminal) possible ?
List pgsql-general
Στις 7/3/24 17:13, ο/η Karsten Hilbert έγραψε:
> Am Thu, Mar 07, 2024 at 04:56:18PM +0200 schrieb Achilleas Mantzios - cloud:
>
>> Python IMHO is too advanced, too rich,
> Python _is_ powerful but it needn't be difficult.
>
>> weird indentation rules
> A matter of taste IMO.
>
>> no simple for loop
> Really ?
>
>     Python 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] on linux
>     Type "help", "copyright", "credits" or "license" for more information.
>     >>> for idx in [0,1,2,3]: print(idx)


Dude this is like saying that for n=N the statement itself takes O(N) to 
write, this is not only "not-simple", this is a darn anti-pattern , that 
should be avoided at any cost in 1st year of college.


>     ...
>     0
>     1
>     2
>     3
>     >>>
>
> Karsten
> --
> GPG  40BE 5B0E C98E 1713 AFA6  5BC0 3BEA AC80 7D4F C89B
>
>
-- 
Achilleas Mantzios
  IT DEV - HEAD
  IT DEPT
  Dynacom Tankers Mgmt (as agents only)




pgsql-general by date:

Previous
From: Robert Treat
Date:
Subject: Re: pl/pgsql outside the DB, (i.e. on the terminal) possible ?
Next
From: Achilleas Mantzios
Date:
Subject: Re: pl/pgsql outside the DB, (i.e. on the terminal) possible ?