Correctness & testing

System Architecture Curriculum · 3:44

Listen on 93

Lyrics

[Verse 1]
When you're building financial apps today
Every penny matters in every way
Don't use floating points for dollar amounts
Integer cents are what really counts
One hundred cents makes a dollar true
Precision matters in all you do

[Chorus]
Test it, check it, make it right
Every balance shining bright
Pennies perfect, ledgers clean
Best financial app you've seen
Audit trails and trials that balance
Show your code has got some talents

[Verse 2]
Double-entry keeps the books in line
Debits equal credits every time
When you round those numbers up or down
Keep it consistent all around
Automated tests will catch the slips
Before your accuracy just flips

[Chorus]
Test it, check it, make it right
Every balance shining bright
Pennies perfect, ledgers clean
Best financial app you've seen
Audit trails and trials that balance
Show your code has got some talents

[Bridge]
Who changed what and when they did it
Why they made that edit
Log it all for auditors to see
Transparency is the key
When your models start to change
Run regression tests again

[Verse 3]
Categorization rules evolve
But accuracy problems you must solve
Trial balance zeros every night
Your double-entry done just right
Reconciliation to the cent
Shows your testing time well spent

[Chorus]
Test it, check it, make it right
Every balance shining bright
Pennies perfect, ledgers clean
Best financial app you've seen
Audit trails and trials that balance
Show your code has got some talents

[Outro]
Integer cents and perfect trails
Financial software never fails
When testing keeps your system tight
Every calculation done just right

← Multi-tenancy