Code

For both frontend/backend:

  • keep code stupid (debugging is twice as hard as coding)
  • names should be describing well what they are for and adhere to our glossary
  • avoid magic constants, prefer to use constant variables instead
  • avoid obviously inefficient code if more efficient solutions are available (please benchmark or ask in case of doubt)

For frontend:

  • avoid useEffect in hooks