On 07/18/2010 11:20 PM, awishformore wrote:
I think an empty array/string is safer to return than null.
It doesn't matter. D treats 'null' arrays exactly the same as empty arrays. Just think of a 'null' array as {length=0, ptr=null}
On 07/18/2010 11:20 PM, awishformore wrote:
I think an empty array/string is safer to return than null.
It doesn't matter. D treats 'null' arrays exactly the same as empty arrays. Just think of a 'null' array as {length=0, ptr=null}