© Nick Harrison 2017

Nick Harrison, Code Generation with Roslyn, 10.1007/978-1-4842-2211-9_8

8. Best Practices

Nick Harrison

(1)Lexington, South Carolina, USA

We have covered a lot of material in this book. Along the way, we touched on various best practices. Some were expressly called out as tips and notes. Others were stated but a bit more subtly. In this last chapter, we review these best practices as a handy reference.

Defining Requirements

Always Plan on Change

There are very few rules that will never change . Cutoff amounts will likely change. Dollar amounts for charges, prices, and fees will likely change, and qualification criteria will all change over time. Business moves too quickly to afford to spend much time adapting to these changes. ...

Get Code Generation with Roslyn now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.