Suggestion Query not null

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

  1. Savior

    Savior I'm your motherfucking conscience

    Joined:
    Nov 17, 2014
    Messages:
    3,329
    Likes Received:
    1,325
    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:
    610
    Likes Received:
    245
    No, no nil objects.
     
  3. Defeat3d

    Defeat3d Prime Celestial

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

    Arbiter Mod Automation

    Joined:
    Jul 26, 2013
    Messages:
    2,544
    Likes Received:
    1,061
    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,496
    Likes Received:
    869
    Basically this, returning null forces the developer to do better error handling.
     
  6. Savior

    Savior I'm your motherfucking conscience

    Joined:
    Nov 17, 2014
    Messages:
    3,329
    Likes Received:
    1,325
    Alright thanks :)
     

Share This Page

Loading...