On Fri, Mar 29, 2013 at 1:54 PM, Marco Rogers <[email protected]>wrote:

> Is that a real question?


Yes. I'm serious.


> Let me repeat, I know the arguments. But consider it from a socket
> standpoint. The empty string is converted to a Buffer. That buffer has zero
> length and no bytes in it.


Only if you're converting it to a C string. If you converted it to a
P-string* it would be different.


> It's reasonable for the underlying system to determine that there is
> nothing to do.


Reasonable but wrong IMHO.

[*] https://en.wikipedia.org/wiki/String_(computer_science)#Length-prefixed

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

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to