Ok... So, in D when I work with Object, it's like if I work with only pointers. Thus, I can return null from a function which returns an Item instance.
Is it clean to write this code below ?

  static Item nullReturn(Item item)
  {
   // ...
   // and for some cases
    return null;
  }

Reply via email to