database - key not found in the db, return "None" or "not Found"? -
i found on interview question.
should data layer function: "get_person_by_key( person_key )" return "none" or raise "notfound" exception if "person_key" not match record in database? please explain reasoning
does distinction make sense? feel skeptical.
Comments
Post a Comment