Source: The Pragmatic Programmer
Published: October 1999
DRY: a principle of software development
"Don't repeat yourself" (DRY) is a principle of software development. It means don’t repeat the same code in different places. Instead, reuse the code you already wrote.
Example for business folks (like me):
In Microsoft Excel, we don’t want to hardcode a variable many times. Instead, we want to use a cell reference. That way, when we need to change a variable, we can do so once and have confidence that it is reflected throughout our workbook.
Software developers can encourage code reusability with abstractions (e.g. by using methods).
Bonus: The exact quote from the book is, “Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.”
🔥 Featured jobs at Amazon Finance
The Legal Finance team within Amazon Corp FP&A is seeking a Senior Financial Analyst to manage finances for the global Legal Department and oversee investments in outside counsel legal fees, headcount, and capital expenditures. This role will own key financial activities for Legal Finance (month-end close, forecasting, reporting, annual budgeting, and 3-year strategic plan). If you are interested, please apply below and also send your resume to Karen Teeter, Finance Manager.
Senior Financial Analyst, Legal Finance: Partner with Legal teams to create forecasts of expense, analyze results, and drive various strategic initiatives. The candidate will present forecasts to the General Counsel, review results with the Legal VPs, and manage budgets with 13 VPs (Seattle, Los Angeles, Arlington).
This is sponsored content