© David Masri 2019
David MasriDeveloping Data Migrations and Integrations with Salesforcehttps://doi.org/10.1007/978-1-4842-4209-4_12

12. A Library of Reusable Code

David Masri1 
(1)
Brooklyn, NY, USA
 

If you read any book on coding best practices, the subject of “code reuse” is bound to come up. So, it’s no surprise that when we covered best practices (in Chapter 6). One of the best practices we examined (Best Practice 21 in Chapter 6) was to “Build up a library of reusable code.” Having a library of reusable code will not only save you time when you next need to build a data migration or integration, but also it will improve code quality, because over time your library will become tried and true.

If you are like me and work in

Get Developing Data Migrations and Integrations with Salesforce: Patterns and Best Practices now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.