Barclays Interview Question

How do you make sure your codes are robust and graceful.