Re: Camel case identifiers and folding - Mailing list pgsql-general

From Wim Bertels
Subject Re: Camel case identifiers and folding
Date
Msg-id 1552641160.5846.2.camel@ucll.be
Whole thread Raw
In response to Camel case identifiers and folding  (Steve Haresnape <s.haresnape@creativeintegrity.co.nz>)
Responses Re: Camel case identifiers and folding
List pgsql-general
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


pgsql-general by date:

Previous
From: Thomas Kellerer
Date:
Subject: Re: Camel case identifiers and folding
Next
From: Adrian Klaver
Date:
Subject: Re: Do all superuser processes count towardsuperuser_reserved_connections?