On Mon, Mar 26, 2012 at 5:29 PM, Roly Fentanes <[email protected]> wrote:

> Don't make a call to a module function which doesn't exist.


Well considering I would never do this on purpose how would you do that?

>
> I really don't see this as being an actual problem. Read the module
> documentation, they'll tell you what the module exposes. If you're worried
> about it's API changing and getting a different version when deploying, use
> stricter version ranges.
>

I'm developing my own module and its client code in parallel. Sometimes I
forget to export a function and end up not knowing why my programs stopped
without giving me an error. If you assume I don't read the documentation of
some API and start experimenting with function names I make up myself you
must think I'm an idiot or something.

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to