Search Postgresql Archives

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Στις 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)






[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux