Checking if a string is null
Regan Heath
regan at netmail.co.nz
Wed Jul 25 07:14:57 PDT 2007
Bruno Medeiros wrote:
> Regan Heath wrote:
>> What do you mean by "empty arrays are conceptually the same as null
>> arrays"?
>>
>
> I meant that in current D they are semantically the same. (I should have
> used those words)
:)
>> To me null arrays (non-existant) and "" arrays (empty) are
>> conceptually different. null indicates the array does not exist (no
>> set at all), "" indicates it does but contains no items (an empty set).
>>
>> Regan
>
> I know, and I agree, don't you recall the V2 string discussion:
> http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=55388
Yes, I remember it. I just forgot who was involved and what their
opinions were. I have a hard enough time keeping track of my own
opinion let alone others.
Regan
More information about the Digitalmars-d-learn
mailing list