Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mQ1mI-0002Xq-Jt for pgsql-general@arkaria.postgresql.org; Tue, 14 Sep 2021 06:18:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mQ1mG-0007cv-92 for pgsql-general@arkaria.postgresql.org; Tue, 14 Sep 2021 06:18:44 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mQ1mF-0007cm-WB for pgsql-general@lists.postgresql.org; Tue, 14 Sep 2021 06:18:44 +0000 Received: from mail-il1-x12b.google.com ([2607:f8b0:4864:20::12b]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mQ1m9-00035f-F6 for pgsql-general@lists.postgresql.org; Tue, 14 Sep 2021 06:18:43 +0000 Received: by mail-il1-x12b.google.com with SMTP id v16so8044317ilg.3 for ; Mon, 13 Sep 2021 23:18:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=5cMjqHKQQN4cb5AgzL0ffCnjKNfw2KNmjmEI86e7aEo=; b=bUXML9yw+ghyEy8jC41UIixZhtb3bzZ0uly23EXkorkBEHYk8Qxq5KK7PKjuHEcmtZ coCMj+PwqHM+XWf8zuKDkSp4Muut6oca1RLYBrdWMOXbFUUaeEV2yZEMQDRqodcSf+bj 9RMaCTnpoyczCj2R9cUj97mQJe/nyTtDlFQRa0IC3Sk5PcntWB1NH5tszmD2SzS7ra65 FqqqaHG1KrCUTaEM1rKCM6jvq+G29HGaOsKvwFO7bAtOQAQEIxyUWfyAwLw3TPccySRe zCIft9QmpvJ51RJCFajFq7XD3UJpd6b1sDzIK4k0Il+ctfU5G+SPwg7KNRqoxD2DKESc qtnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=5cMjqHKQQN4cb5AgzL0ffCnjKNfw2KNmjmEI86e7aEo=; b=L7O2nuLExW6aWnwAON9QMo65OkHCItgKdhO+WhZdxJyL26ZV4XnyB2/yBuVTkX/aTf R18nS07b+mAQbhX99G4GQ0b+pQ9z5q+VHOdFJEj740F9qG4o6wdfE9Zl4ERZItflwbkr fy8Q7UslPBWeA0t7xzPzChrRwMe7Pn/xdqLruvxQkfaheerrWhEASAm3bl309bv52W2g DSAF12ANqtM1dVcjmzoh1d1A6GnPSoelNYCD31oT5iMx4zhXfLaYVfYIaJFoLXpEmtsA Z9wjpEUJkk5JNePoWOvIhWiY98Xt2YKD5qvvoLsRHkAOLB4WE7RzY2FsrFnC5hZqeEd1 B4ew== X-Gm-Message-State: AOAM5317s8yX+q3xqIdReWLqeoze8oys7F6VdCkpplBg/nYsBrb9CI3T UPLvGQuwyvZB34FM9G5+ZZFzDtfBD5k= X-Google-Smtp-Source: ABdhPJyBJQ+/M6drvClc8xxxIprL7BpNCuXhqrWrekCPZPIfCgAEE4qJMznf52/LczUuFul39L/n5w== X-Received: by 2002:a92:dc07:: with SMTP id t7mr11267653iln.63.1631600316539; Mon, 13 Sep 2021 23:18:36 -0700 (PDT) Received: from ?IPv6:2601:681:5500:dde0:31d2:555e:5877:7599? ([2601:681:5500:dde0:31d2:555e:5877:7599]) by smtp.gmail.com with ESMTPSA id e15sm6156004ilu.29.2021.09.13.23.18.35 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 13 Sep 2021 23:18:36 -0700 (PDT) Subject: Re: The tragedy of SQL To: pgsql-general@lists.postgresql.org References: <4dc338ad-b0aa-4f4c-bd9c-4dc76dda9e8b@Spark> From: Rob Sargent Message-ID: <05ac2565-b692-c73f-93f0-3bbf738e3bfc@gmail.com> Date: Tue, 14 Sep 2021 00:18:33 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------1DB43F92E39A7DB8571E33D9" Content-Language: en-CA List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------1DB43F92E39A7DB8571E33D9 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit On 9/13/21 11:51 PM, Guyren Howe wrote: > They are making a decent decision. SQL is a *fucking terrible* > language, which I don’t blame them for not wanting to learn. > > The whole industry, programming languages, infrastructure, everything > would have developed differently if relations were a natural, > pleasurable thing to use in any programming language. Like an Array, > or a Hash. > On Sep 13, 2021, 22:45 -0700, Hemil Ruparel > , wrote: >> SQL is not the problem. Problem are the devs. I love SQL. I hate >> orms. The problem with databases is people refuse to treat it as the >> entity it is and want to use their beautiful OO system. Problem is >> databases are not OO. We need to recognize that and treat databases >> as databases. All languages are fucking terrible.  There are thousands of the them because some people bump into a feature they don't like and run off an make another fucking terrible language.  For the love of God, please don't be one of those people.  The rest of us find languages we can abide and do productive things with using features we like and avoiding those we don't.  I've always felt it was no small miracle the vendors managed to agree to ODBC/JDBC driver specs (even though the SQL language definition is "more like guidelines").  Go scream at the DOM and JavaScript. --------------1DB43F92E39A7DB8571E33D9 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit
On 9/13/21 11:51 PM, Guyren Howe wrote:
They are making a decent decision. SQL is a *fucking terrible* language, which I don’t blame them for not wanting to learn.

The whole industry, programming languages, infrastructure, everything would have developed differently if relations were a natural, pleasurable thing to use in any programming language. Like an Array, or a Hash.
On Sep 13, 2021, 22:45 -0700, Hemil Ruparel <hemilruparel2002@gmail.com>, wrote:
SQL is not the problem. Problem are the devs. I love SQL. I hate orms. The problem with databases is people refuse to treat it as the entity it is and want to use their beautiful OO system. Problem is databases are not OO. We need to recognize that and treat databases as databases. 
All languages are fucking terrible.  There are thousands of the them because some people bump into a feature they don't like and run off an make another fucking terrible language.  For the love of God, please don't be one of those people.  The rest of us find languages we can abide and do productive things with using features we like and avoiding those we don't.  I've always felt it was no small miracle the vendors managed to agree to ODBC/JDBC driver specs (even though the SQL language definition is "more like guidelines").  Go scream at the DOM and JavaScript.
--------------1DB43F92E39A7DB8571E33D9--