Re: Camel case identifiers and folding

Поиск
Список
Период
Сортировка
От Wim Bertels
Тема Re: Camel case identifiers and folding
Дата
Msg-id 1552641160.5846.2.camel@ucll.be
обсуждение исходный текст
Ответ на Camel case identifiers and folding  (Steve Haresnape <s.haresnape@creativeintegrity.co.nz>)
Ответы Re: Camel case identifiers and folding  (Morris de Oryx <morrisdeoryx@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Thomas Kellerer
Дата:
Сообщение: Re: Camel case identifiers and folding
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Do all superuser processes count towardsuperuser_reserved_connections?