couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filipe David Manana <>
Subject Re: svn commit: r1035694 - /couchdb/trunk/src/couchdb/couch_changes.erl
Date Tue, 16 Nov 2010 18:45:58 GMT
I don't understand. What do the operators == and === have to do with
an error message targeted to the user?
Complaining that the doc_ids parameter is not defined as a list, isn't
explicit enough? (which means it's undefined, a string, an integer, or

On Tue, Nov 16, 2010 at 6:36 PM, Benoit Chesneau <> wrote:
> On Tue, Nov 16, 2010 at 7:28 PM, Benoit Chesneau <> wrote:
>> On Tue, Nov 16, 2010 at 7:19 PM, Filipe David Manana
>> <> wrote:
> s a list, you are less descriptive.
>>> If it's not defined than it's definitely not a list. Does it make sense?
>> I didn't say that your sentence didn't have sense. But I meant to be
>> more descriptive. Afterall that's the reason you want to use ===
>> rather than == in js.
> To be clear , I prefer to give all reasons why this error happened
> rather than using a mind shortcut and while I'm on it maybe it could
> be better if i just give the right reason? The only reason I don't
> actually is because I wanted to use less code

Filipe David Manana,,

"Reasonable men adapt themselves to the world.
 Unreasonable men adapt the world to themselves.
 That's why all progress depends on unreasonable men."

View raw message