Suggestion Query not null

Discussion in 'Client & Site Suggestions' started by Savior, Dec 18, 2014.

  1. Savior

    Savior You'll float too

    Joined:
    Nov 17, 2014
    Messages:
    3,619
    Likes Received:
    1,490
    Is it possible for the current query system not to return null when calling for example nearest?
     
  2. Baddest Man on Earth

    Joined:
    Nov 26, 2014
    Messages:
    611
    Likes Received:
    245
    No, no nil objects.
     
  3. Defeat3d

    Defeat3d Prime Celestial

    Joined:
    Oct 30, 2014
    Messages:
    1,407
    Likes Received:
    612
    No support, potentially makes debugging harder.
     
  4. Arbiter

    Arbiter Mod Automation

    Joined:
    Jul 26, 2013
    Messages:
    2,560
    Likes Received:
    1,084
    Making them return null values was an intentional design decision made by @Cloud. Forces the developer to follow best practices (and in the process learn them) and prevents the whole "sloppy but it works" concept.
     
  5. Cloud

    Joined:
    Jul 28, 2013
    Messages:
    2,574
    Likes Received:
    929
    Basically this, returning null forces the developer to do better error handling.
     
  6. Savior

    Savior You'll float too

    Joined:
    Nov 17, 2014
    Messages:
    3,619
    Likes Received:
    1,490
    Alright thanks :)
     

Share This Page

Loading...