Map
Index
Random
Help
th

Quote: return a zero-length array instead of a null; nulls require special code

QuoteRef: blocJ_2001 , p. 134



Topic:
undefined, null, and other signal values
Topic:
arrays
Group:
sets

Quotation Skeleton

Item 27: Return zero-length arrays, not nulls … There is no reason to make a special … in the client to handle the null return …   Google-1   Google-2

Copyright clearance needed for quotation.


Related Topics up

Topic: undefined, null, and other signal values (34 items)
Topic: arrays (58 items)
Group: sets   (7 topics, 148 quotes)

Copyright © 2002-2008 by C. Bradford Barber. All rights reserved.
Thesa is a trademark of C. Bradford Barber.