Reusable code and documentation
How analysis code is made to last.
1What it covers
How analysis code is made to last. The topic covers functions in place of copied code, clear names, settings kept apart from logic, simple tests on the main calculations, version control, a short note on how to run the work, and the handover to a colleague. It starts with a script written once and ends with code that a colleague can rerun and trust.
2Why it matters
Copied code multiplies errors. Code that only its author can run is a risk to the team. A short note on how to run the work saves hours when someone else must take over.
3The skill it belongs to
4Roles that use it
Data ScientistYour role
Data Scientist (Banking)Your role
Quantitative Analyst (Desk Quant)Your role
Quantitative DeveloperYour role
Actuarial AnalystYour role
Data AnalystYour role
Data Analyst (Banking)Your role
Data Governance AnalystYour role
GIS AnalystYour role
Life & Pensions Actuarial AnalystYour role
Market Risk AnalystYour role
Model Risk & ValidationYour role
5Related topics
Updated 5 Nov 2026