Re: JSON Function Bike Shedding - Mailing list pgsql-hackers

From David E. Wheeler
Subject Re: JSON Function Bike Shedding
Date
Msg-id D16309F4-9D4C-4BF9-ACB7-DCE5CFDA291C@justatheory.com
Whole thread Raw
In response to Re: JSON Function Bike Shedding  ("Petr Jelinek" <pjmodos@pjmodos.net>)
List 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 by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: PATCH: Split stats file per database WAS: autovacuum stress-testing our system
Next
From: Fabrízio de Royes Mello
Date:
Subject: Re: Call for Google Summer of Code mentors, admins