How about removing it from the docs and making it non-enumerable in
the fs module.  Then any new developers won't know it's there unless
they are reading someone else's code.  Or maybe in the docs simply say
that it shouldn't be used and is only left there so as to not break
old code.  Also, how is this different from deprecation?

On Sun, Aug 19, 2012 at 4:02 PM, Bert Belder <[email protected]> wrote:
> On Sunday, August 19, 2012 8:23:53 PM UTC+2, Nuno Job wrote:
>>
>> >> Maybe a note in the docs tell people that fs.stat is a better choice?
>>
>> Good idea Mikeal. Deprecation console.error && pointing people to
>> fs.stat in the docs should do the trick.
>
>
> I don't see enough compelling reasons to deprecate it. I think a doc
> addition that warns people about the funky signature and the anti-pattern
> would suffice.
>
> - Bert
>
>
> --
> 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

-- 
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