Re: JSON Function Bike Shedding

Поиск
Список
Период
Сортировка
От David E. Wheeler
Тема Re: JSON Function Bike Shedding
Дата
Msg-id D16309F4-9D4C-4BF9-ACB7-DCE5CFDA291C@justatheory.com
обсуждение исходный текст
Ответ на Re: JSON Function Bike Shedding  ("Petr Jelinek" <pjmodos@pjmodos.net>)
Список pgsql-hackers
On Feb 19, 2013, at 6:11 AM, Petr Jelinek <pjmodos@pjmodos.net> wrote:

>> some of the points you raise are valid, but in my (minority) opinion
>> overloading creates more problems than it solves.  You're not going to
>> convince me that get() is *ever* a good name for a function - you might as
>> well call it thing() or foo() for all the useful information that name
> conveys.
>
> Let me join the minority here, +1

Well, that's why I called them get_json() and get_text(). Basically, I don't mind that the function name says something
aboutthe return type. 

Best,

David


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: PATCH: Split stats file per database WAS: autovacuum stress-testing our system
Следующее
От: Fabrízio de Royes Mello
Дата:
Сообщение: Re: Call for Google Summer of Code mentors, admins