9

Can we all start using error codes for apis? I'm so sick of doing a reg exp check to see if the word "failed" is in your return message and having to change it every time you feel like updating the language.

Comments
  • 1
    It is considered extremely poor API design to use improper status codes or skip setting codes in responses.

    Error messages are nice, but optional.
  • 1
    Nope, because there will always be mediocre developers who just got into programming because <quote>it pays very well</quote > but have no idea what are the components of a computer and how they communicate. Then it comes a time when this mediocre programmer starts working for a bitch ass company who just rushes everything because they are desperate for money and haven't the slightest clue on software production cycles.
Add Comment