Be Nice, Do Good: Code Version

At Zaengle we desire to follow our motto (Be Nice, Do Good) in all aspects of our lives. Some of the less obvious ways we seek to carry it out are in the small choices we make while programming.

Here are some principles we apply as we write code:

Forms

Any time a user interacts with a form in one of our applications they should expect to receive appropriate and informative feedback when:

  • A validation error is encountered
  • A form is successfully submitted
  • An error occurs in the form processing

Opt-In Actions

We will always provide opportunity for a user to confirm any actions considered "destructive". Clicking a single button or link should never erase or remove data without the application informing the user what is about to occur, giving them the option of aborting.

Soft deleting

Wherever it makes sense, we will apply "soft-deletes" when removing data, in the event that we need to retrieve the data on the user's behalf.

Backups

We will take appropriate measures to ensure the integrity of the client's data through routine, sequential data backups.

Local Data

We will not use production data in any testing environments. We have no desire to accidentally email hundreds or thousands of customers lorem ipsum text.

Testing

By testing what matters, we can ensure our applications are running according to plan. More importantly, we can sleep well at night.