For our June event, we’re doing a joint event with Python Glasgow, a Pair Programming and TDD exercise called the Ping Pong Pattern.
We’ll work through a programming exercise in pairs using the pattern and then discuss how we found the process.
Don’t worry if you’ve never pair programmed or done TDD before. We’ll be pairing people up to make sure every pair has at least one person who’s done both.
Please bring along your laptops!
In pairs:
And so on. Refactoring is done whenever the need arises by whoever is driving.
You are working for a new challenger bank building their backend system.
Please implement the following features:
User can check balance
Account can have an overdraft. If user goes over the overdraft they are fined £10. The transaction type is ‘fine’.
User can get a list of transactions.
If you’re not sure about a requirement just make something up, but try to keep things simple. Remember, it’s just an exercise! We don’t need to worry about GDRP compliance when doing a deposit!
For simplicity, don’t worry about error cases (what if deposit amount is negative? etc).
Either use your favourite lanaguge/tool/framework to build the app or build it online using codesandbox.com.
Have fun!
SAS, Cuprum, 480 Argyle St, Glasgow G2 8NH
We’ll be letting people in from around 6:30pm, but no entry will be possible after 7pm, so please be sharp!