Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1riKUG-00Gbxw-9w for pgsql-general@arkaria.postgresql.org; Thu, 07 Mar 2024 20:37:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1riKUE-008UPn-RS for pgsql-general@arkaria.postgresql.org; Thu, 07 Mar 2024 20:37:07 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1riKUD-008UPf-5n for pgsql-general@lists.postgresql.org; Thu, 07 Mar 2024 20:37:07 +0000 Received: from fhigh8-smtp.messagingengine.com ([103.168.172.159]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1riKU8-003Juv-TS for pgsql-general@lists.postgresql.org; Thu, 07 Mar 2024 20:37:04 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 6A6C51140140; Thu, 7 Mar 2024 15:36:58 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Thu, 07 Mar 2024 15:36:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1709843818; x=1709930218; bh=ZgZxe8gtASILdhS5vddoDtB5UfT4qH8EVbz6Fyz6jwc=; b= eCKSNNKmJLQAFRA1K6rp4Ql+YSzIm6ylO1laPhZslMgYZxCNchw1ruA54GKoj5nn dp4u5ylPQfW/RMxF+w63gYBahOttiFXD/XPGKtx16xL12to7uz7Pxg4lP9a3vwb7 u90tqDCrtF1NQXliZ7+RA+bj/VIFH/YqU/hDrWCCmGr+nQi49dDG2qvbQZhFeKv2 EYnb/L6dr2xJwS2ZCqmCUZtr9z+qpR8Bt7o8G81KNHHc2Ah6+QCtbQ1+7TCDsyxP cvNBkDLy5oPRrr0ZSU0cNOnVHFBfreLtNY1hMX42RbWB3B1pFwpVhReyprDUgVN/ k/VmzjmvwW4eDg2oPfZ/Kw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1709843818; x= 1709930218; bh=ZgZxe8gtASILdhS5vddoDtB5UfT4qH8EVbz6Fyz6jwc=; b=K UiGeal7BXxMlfn4765MA4zZiM4OI/RaS4bO/MUndKbszKsNa5TcwdEpWZrYHOkw5 W5bYJHYQJg0Rf/mMxjr8rkM0700+AdfvdW7oqXVUVX1QMusfpes8X6Qd6TdPxoJa wvlaPvsApGMPbwhBr0PB5F2dImFrTzjwbsuMmzFAvIjtO+SzHaqouYJf9H5idh7B K3FI6PDEhZOps0nvshvFSIpbuhDcAnXCThMEJz+raEJCeTWagb8/2361ruMdEA23 qUzua7fWkkFhP3N0OWndCYFJ/rygNB6zbToLHL/HK+d8m9bPy9+MaRIk0blA/8L5 zWPLLR5tGTGptVmn9Uz2w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrieefgddufeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtkeertddtvdejnecuhfhrohhmpeetughr ihgrnhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtg homheqnecuggftrfgrthhtvghrnhepgfegiefhteduteeiffduudevledtteevfeeggedu keelheejvedvudeiueefjeffnecuffhomhgrihhnpeigiihilhhlrgdrnhgvthenucevlh hushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdr khhlrghvvghrsegrkhhlrghvvghrrdgtohhm X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 7 Mar 2024 15:36:57 -0500 (EST) Message-ID: Date: Thu, 7 Mar 2024 12:36:56 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: pl/pgsql outside the DB, (i.e. on the terminal) possible ? Content-Language: en-US To: Achilleas Mantzios , Robert Treat , Pavel Stehule Cc: Christophe Pettus , pgsql-general@lists.postgresql.org References: <596a6961-553e-3781-7aed-9dba969a18a5@cloud.gatewaynet.com> <405C1494-7432-442B-AB28-EE04D38E989B@thebuild.com> <663ac94e-cbc1-4b40-b1b6-adbb0c8d18ef@cloud.gatewaynet.com> From: Adrian Klaver In-Reply-To: <663ac94e-cbc1-4b40-b1b6-adbb0c8d18ef@cloud.gatewaynet.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 3/7/24 12:20, Achilleas Mantzios wrote: > Στις 7/3/24 21:29, ο/η Adrian Klaver έγραψε: >> On 3/7/24 10:13, Achilleas Mantzios wrote: >>> Στις 7/3/24 18:44, ο/η Robert Treat έγραψε: >> >>> >>> I am not talking for fun. I am talking about the future programmers >>> of this world. Teaching Python or C to them upon arrival to the >>> classes seems so wrong in every aspect. >> >> Seems to me you need to tackle this from the other end, that is what >> are you looking for in a first language? > > Something like good ol Pascal, just a little more market-correct to make > it viable. Something that puts sanity and simplicity above impression or > anything else. C or Python as first languages (like seems the norm among > UNIs) is suicidal. I am strongly against it. Kids just dont learn the > essentials. And the path goes like , simple -> lower lever (C/Assembly) > , but also higher level (C++/Java/Python/etc). Destroying their minds by > starting with Python or C just minimizes the chances for future great C > programmers or Java/Python programmers. Would that not be covered by a theory of programing course series? I will admit up front this is getting out of my depth, but from my experiences with programming languages they, at a high level, all do the same thing basically. Transform text into low level operations on a machine. Therefore course work on what those low level operations are and the way to abstract above the machine code level would seem to me the way to go. Then a series of classes that move languages from lower to higher level. > > Ppl from the community already expressed to me the shortage of new ppl > willing to write system level (linux/postgersql) C code. And nothing is > accidental. > >> >>> >>> What do UNIs in USA or Europe or Asia teach in 1st semester ? >>> >>>> line isn't strictly one of them. >>>> >>>> Robert Treat >>>> https://xzilla.net >>> >> -- Adrian Klaver adrian.klaver@aklaver.com