Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h4iuf-0007gt-RQ for pgsql-general@arkaria.postgresql.org; Fri, 15 Mar 2019 09:14:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h4iue-0005fa-JP for pgsql-general@arkaria.postgresql.org; Fri, 15 Mar 2019 09:14:00 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h4itX-00018u-LJ for pgsql-general@lists.postgresql.org; Fri, 15 Mar 2019 09:12:51 +0000 Received: from asp-lcl-out1.belnet.be ([2001:6a8:3c80::156]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h4itT-0001SL-9Y for pgsql-general@postgresql.org; Fri, 15 Mar 2019 09:12:50 +0000 Received: from BERENS.int.ucll.be (berens.ucll.be [193.190.138.15]) by asp-lcl-out1.belnet.be (8.14.4/8.14.4/Debian-4+deb7u1) with ESMTP id x2F9CfF0030057 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 15 Mar 2019 10:12:41 +0100 Received: from Mistik.int.ucll.be (10.21.7.40) by webmail.ucll.be (193.190.138.15) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 15 Mar 2019 10:12:40 +0100 Received: from zwerfkat (10.16.6.35) by Mistik.int.ucll.be (10.21.7.40) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 15 Mar 2019 10:12:32 +0100 Message-ID: <1552641160.5846.2.camel@ucll.be> Subject: Re: Camel case identifiers and folding From: Wim Bertels Reply-To: To: Steve Haresnape , Date: Fri, 15 Mar 2019 10:12:40 +0100 In-Reply-To: References: Organization: UC Leuven-Limburg Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.6-1+deb9u1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.16.6.35] X-ClientProxiedBy: Mistik.int.ucll.be (10.21.7.40) To Mistik.int.ucll.be (10.21.7.40) X-Spam-Score: undef - relay 193.190.138.15 marked with skip_spam_scan X-CanIt-Geo: ip=193.190.138.15; country=BE; latitude=50.8500; longitude=4.3500; http://maps.google.com/maps?q=50.8500,4.3500&z=6 X-CanItPRO-Stream: ucll-out:out (inherits from ucll-out:default,ucll-in:default,advanced:default,base:default) X-Canit-Stats-ID: Bayes signature not available X-Scanned-By: CanIt (www . roaringpenguin . com) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Steve Haresnape schreef op vr 15-03-2019 om 12:06 [+1300]: > I'm porting a sql server database to postgresql 9.6. My camelCase > identifiers are having their humps removed. This is disconcerting and > sad. the SQL ISO defines exactly this behaviour (as you note), so this is be expected suggestion : instead of CamelCase use seperate_lower_case_by_underscore You don't like this notation, maybe this can help. It is suggested that is more relaxing for the brain, our brain tends to focus on the Capitals first. Reasoning: So scanning a literal like dogFeedFood first goes the F of Feed and Food and only then goes back to dog. Changing habits can be hard, unfortunately. "" > literal '' > string -- mvg, Wim -- Lector UC Leuven-Limburg -- O, it is excellent To have a giant's strength; but it is tyrannous To use it like a giant. -- Shakespeare, "Measure for Measure", II, 2