contents

 

front matter

preface

acknowledgments

about this book

about the authors

about the cover illustration

1 Introduction

1.1 Consequences of every decision and pattern

Unit testing decisions

Proportions of unit and integration tests

1.2 Code design patterns and why they do not always work

Measuring our code

1.3 Architecture design patterns and why they do not always work

Scalability and elasticity

Development speed

Complexity of microservices

2 Code duplication is not always bad: Code duplication vs. flexibility

2.1 Common code between codebases and duplication

Adding a new business requirement that requires code duplication

Implementing the new business requirement

Evaluating the result

2.2 Libraries and sharing code between codebases