A

abstraction(s), 155 , 159 , 170 , 177

of accidental complexity, 166 – 168

information hiding and, 151 – 152

isolating third-party systems, 168 – 169

leaky, 162 – 163 , 167

maps, 163 – 164

models and, 163 , 164

picking, 163 – 165

plain text, 161 – 162

power of, 160 – 162

pragmatism and, 157 – 158

from the problem domain, 165

raising the level of, 156 – 157

storage, 168

testing, 159 – 160

Accelerate: The Science of Lean Software & DevOps , 9 , 33 , 34 , 153 , 209

acceptance test-driven development, 97

accidental complexity

abstracting, 166 – 168

separation of concerns and, 139 – 142

agile development, 32 , 44 – 45 , 46 , 50 , 53 , 54 , 69 , 74 , 77

waterfall approach and, 53

Agile Manifesto, 44 , 50

Aldrin, B., 16

algorithms, 86 – 87

alphabet, 52

Amdahl’s law, 88

APIs, 108 , 115 , 117 , 147 , 148

functions and, 148 – 149

Ports and Adapters pattern, 149

Apollo space program, 15 – 16

modularity, 72 – 73

architecture, feedback and, 65 – 67

Armstrong, N., 16

asynchronous programming, 180 – 182

automated testing, 97 – 98 , 112 , 199 , 211

aviation

designing for testability, 109 – 111

modularity and, 72

B

Barker, M., 86

BDD (behavior-driven development), 188

Beck, H., 164

Beck, K., 121

Extreme Programming Explained , 53 , 108 , 155

big balls of mud, 172 . See also quality

causes of

fear of over-engineering, 157 – 159

organizational and cultural problems, 152 – 154

technical and design problems, 154 – 157

coupling and, 177 – 178

birth of software engineering, 7 – 8

Bosch, J., 208

bounded context, 126 , 144 , 147 , 165 . See also DDD (domain-driven design)

bridge building, 31

software development and, 11 , 12

Brooks, F., 7 , 8 , 18 – 19 , 32 , 119 , 155

The Mythical Man Month , 50 , 74

C

cache-misses, 85 – 86

carbon fiber, 25 – 26

CI (continuous integration), 54 , 76

FB (feature branching) and, 62 – 63

feedback and, 61 – 63

cloud computing, abstraction, 161

code, 17 , 38 , 69 , 75 , 83 , 88 , 95 , 115

big balls of mud, causes of, 152 , 154 – 157 . See also quality

fear of over-engineering, 157 – 159

organizational and cultural problems, 152 – 154

technical and design problems, 154 – 157

cache-misses, 85 – 86

cohesive, 122 – 125

compilers, 128

concurrency, 201

coupling, 26 , 37 , 67 , 117 , 119 , 164 , 168 , 169 , 171 , 184

cohesion and, 129

cost of, 171 – 172

DRY (“Don’t Repeat Yourself), 179

loose, 175 – 176 , 177 – 178 , 180 – 184

microservices and, 173 – 174

Nygard model of, 176 – 177

separation of concerns and, 178 – 179

feedback and, 60 – 61

formal methods, 13

future-proofing, 158 – 159

information hiding, 151 – 152 , 155 , 169 – 170

isolating third-party systems, 168 – 169

managing complexity, 78 – 79

messaging, 83 , 148

quality and, 63 – 64

readability, 176

“round-trip”, 156

seams, 167

separation of concerns, 127 , 131 , 135 – 136 , 137 – 138

complexity and, 139 – 142

DDD (domain-driven design) and, 142 – 144

dependency injection, 139

Ports and Adapters pattern, 145 – 147

testability and, 138 , 144

third-party, 169

cohesion, 125 , 133 , 140 , 166 , 167 , 175

in coding, 122 – 125

coupling and, 129

in human systems, 133

modularity and, 121 – 122

poor, 132 – 133

in software, 130 – 132

TDD (test-driven development) and, 129

compare-and-swap, 87

complexity, 4 – 5 , 21 – 22 , 32 , 59 , 70 , 77 – 78 , 127 . See also coupling; separation of concerns

accidental, 139 – 140

abstracting, 166 – 168

separation of concerns and, 139 – 142

Conway’s law, 37

coupling and, 171

determinism and, 112 – 114

managing, 36 , 37 – 38 , 74 , 78 – 79 , 127 , 152 , 214

modularity and, 72 , 73 , 105 – 106 , 107 – 108 , 118

precision and, 112

productivity and, 49 – 50

separation of concerns and, 139 – 142

computers, 13 , 20 , 99 , 166 , 201 . See also abstraction(s); programming

abstraction, 162

evolution of programming languages, 18 – 19

concurrency, 37 , 86 , 88 , 201

compare-and-swap, 87

determinism and, 113

continuous delivery, 33 , 48 , 60 , 65 , 66 , 67 , 70 , 77 , 96 , 160 , 180 , 183 , 199 , 201 – 202 , 208 , 210

deployment pipeline, 179 , 197 – 199

continuous integration (CI), 70

Conway’s law, 37

Cost of Change model, 46 – 48 , 159

coupling, 26 , 37 , 67 , 117 , 119 , 164 , 168 , 169 , 171 , 184 . See also abstraction(s); cohesion; separation of concerns

cohesion and, 129

cost of, 171 – 172

developmental, 174 , 179 , 183

DRY (“Don’t Repeat Yourself), 179 , 180

loose, 174 , 175 – 176 , 177 – 178

asynchronous programming, 180 – 182

designing for, 182

in human systems, 182 – 184

microservices and, 173 – 174 , 183 – 184

Nygard model of, 176 – 177

scaling up development, 172 – 173

separation of concerns and, 178 – 179

CPU, clock cycle, 86 – 87

craftsmanship, 19

complexity and, 21 – 22

creativity and, 24 – 25

engineering and, 27 – 28

limits of, 19 – 20

repeatability and, 23

creativity, 70 , 74

D

DDD (domain-driven design), 125 – 126 , 142 – 144

bounded context, 126 , 144

dependency injection, 118 , 139

dependency management, 179

deployability, 197 – 199

controlling the variables, 200 – 201

feedback and, 199

independent, 174

microservices and, 174

modularity and, 116 – 117

deployment pipeline, 116 – 117 , 136 , 179

releasability, 198

design engineering, 12 – 13 , 14 – 15 , 26

feedback, 63 – 64

design principles. See also complexity; DDD (domain-driven design); feedback; iteration; software development

cohesion, 125 , 133

in coding, 122 – 125

coupling and, 129

in human systems, 133

modularity and, 121 – 122

poor, 132 – 133

in software, 130 – 132

test-driven development (TDD) and, 129

incrementalism, 71 , 79

iteration and, 71 – 72

limiting the impact of change, 76 – 77

modularity, 72 – 73

organizational, 73 – 74

Ports and Adapters pattern, 76 – 77

tools of, 74 – 76

modularity, 72 – 73 , 75 , 106 , 108 , 113 , 120 . See also incrementalism

Apollo space program, 72 – 73

cohesion and, 121 – 122

complexity and, 73 , 105 – 106 , 107 – 108 , 118

deployability and, 116 – 117

at different scales, 118

hallmarks of, 106

in human systems, 118 – 119

microservices and, 73

organizational incrementalism, 73 – 74

services and, 115 – 116

testability and, 109 – 112

testing, 113

undervaluing the importance of good design, 107 – 108

separation of concerns, 127 , 131 , 135 – 136 , 137 – 138

complexity and, 139 – 142

DDD (domain-driven design) and, 142 – 144

dependency injection, 139

Ports and Adapters pattern, 145 – 147

TDD (test-driven development) and, 149 – 150

testability and, 138 , 144

determinism, complexity and, 112 – 114

Deutsch, D., 85

“The Beginning of Infinity”, 51 – 53

DevOps, 59 , 67 , 153 , 210

diagram-driven development, 156 – 157 , 165

digitally disruptive organizations, 207 – 209

Dijkstra, E., 22

DRY (“Don’t Repeat Yourself), 179 , 180

DSL (domain-specific language), 165

E

empiricism, 16 , 17 , 45 , 81 , 82 , 207 , 213

avoiding self-deception, 84 – 85

experimentation and, 82

parallelism, 88

software testing and, 82 – 84

engineering, 6 , 9 , 29 – 30 , 81 , 82 , 89 , 99 , 211 . See also software engineering

bridge building and, 31

complexity and, 21 – 22

craftsmanship and, 27 – 28

creativity and, 24 – 25

design, 12 – 13 , 14 – 15

empiricism, 16

experimentation and, 92

as a human process, 207

math and, 13 – 14

models, 12 – 13 , 14

over-, 157 – 159

pragmatism and, 158

precision, 20 – 21

production, 11 , 19 , 49

progress and, 26 – 27

rationalism and, 26

repeatability and, 22 – 23

scalability, 20 – 21 , 25

software development and, 13

solutions and, 17

tools, 202

trade-offs, 26

working definition, 17

Evans, E., Domain Driven Design , 147

event storming, 165

experimentation, 81 , 85 , 88 , 91 – 92 , 93 , 100 , 110 , 199

automated testing, 97 – 98

controlling the variables, 96 – 97

empiricism and, 82

engineering and, 92

feedback, 93 , 94

hypotheses, 94 – 95 , 97

measurement and, 95 – 96

results of testing, 98 – 100

scope of an experiment, 100

exploration, 45

Extreme Programming, 45 , 50 , 64

F

Farley, D., Continuous Delivery , 116 , 183 , 197

FB (feature branching), 62

CI (continuous integration) and, 62 – 63

feedback, 57 , 59 – 60 , 70 , 76 , 87 , 97 , 108 , 183 , 189 , 207 , 211

in architecture, 65 – 67

in coding, 60 – 61

in design, 63 – 64

early, 67

experimentation and, 93 , 94

importance of, 58 – 59

in integration, 61 – 63

in organization and culture, 68 – 70

in product design, 68

speed of, 77 , 93 – 94 , 199

Feynman, R., 78 , 84 – 85 , 92 , 94

formal methods, 13

Fosgren, N., 33 , 35

Fowler, M., 32 – 33

functions, APIs and, 148 – 149

future-proofing, 158 – 159

G-H

good example science, 6

Gorman, C., 31

Hamilton, M., 7 , 15 – 16 , 168

hardware, 85

software and, 7

Helms, H. J., 59

Hibernate, 31 , 32

high-performance software, 128 . See also software

Hopper, G., 19

Humble, J., 33 , 96

Continuous Delivery , 116

hypotheses, 97

I

incrementalism, 71 , 79

iteration and, 71 – 72

limiting the impact of change, 76 – 77

modularity, 72 – 73

organizational, 73 – 74

Ports and Adapters pattern, 76 – 77

tools of, 74 – 76

information hiding, 155 , 169 – 170

abstraction and, 151 – 152

iteration, 43 , 45 , 51 , 52 , 53 – 54 , 55 , 199 . See also incrementalism

as a defensive strategy, 46 – 48

incrementalism and, 71 – 72

learning and, 43

ML (machine learning), 43

practical advantages of, 45 – 46 , 54

TDD (test-driven development), 54 – 55

J-K-L

Kim, G., 33

Kuhn, T., 8

lead time, 34

leaky abstractions, 162 – 163 , 167

Lean, 69

learning, 4 , 36 – 37 , 155 , 189 , 214

feedback and, 57

iteration and, 43

LOR (lunar orbit rendezvous), 72

low code development, 156

M

maps, 163 – 164

mass production, 22

math, 17

engineering and, 13 – 14

measurement, 22 – 23 , 39

experimentation and, 95 – 96

points of, 111

of stability, 33 – 34

testing and, 111 – 112 , 113 – 114

of throughput, 34

mechanisms, outcomes and, 210 – 211

messaging, 174

abstraction and, 161

microservices, 66 , 67 , 117 , 119

coupling and, 173 – 174 , 183 – 184

deployability, 174

DRY (“Don’t Repeat Yourself), 180

modularity and, 73

scalability, 174

ML (machine learning), 43 , 212 – 214 . See also learning

models, 12 – 13 , 14 , 28 , 51 – 52 , 85 , 167

abstraction and, 163 , 164

Cost of Change, 46 – 48 , 159

stability and throughput, 35

modularity, 72 – 73 , 75 , 106 , 108 , 113 , 120 , 167 . See also coupling; incrementalism

Apollo space program, 72 – 73

cohesion and, 121 – 122

complexity and, 73 , 105 – 106 , 107 – 108 , 118

deployability and, 116 – 117

at different scales, 118

hallmarks of, 106

in human systems, 118 – 119

microservices and, 73

organizational incrementalism, 73 – 74

services and, 115 – 116

testability and, 109 – 112

testing, 113

undervaluing the importance of good design, 107 – 108

Moore’s law, 7

Musk, E., 25

N

NASA, Apollo space program, 15 – 16

NATO (North Atlantic Treaty Organization), 7

natural selection, 8

North, D., 46 , 47 , 155

Nygard model of coupling, 176 – 177

O-P

organizational incrementalism, 73 – 74

outcomes, mechanisms and, 210 – 211

paradigm shift, 8

parallel programming, 85 – 86 , 87

Parnas, D., 23

performance, 8 . See also quality; speed

incrementalism, 71

measuring, 32 – 34

stability and, 34 – 35

testability, 128

throughput and, 34 – 35

Perlis, A. J., 59 – 60

physics, 98 – 99

pictograms, 52

plain text, 161

Ports and Adapters pattern, 76 – 77 , 115

APIs and, 149

separation of concerns and, 145 – 147

when to use, 147 – 148

pragmatism, abstraction and, 157 – 158

precision, 96

of measurement, 22 – 23

scalability and, 20 – 21

in software engineering, 20

speed and, 34

predictability, 45

predictive approach, 58

problem-solving, experimentation and, 91 – 92

production, 11 – 12 , 14

complexity and, 21 – 22 , 49 – 50

craft, 19 – 20

repeatability and, 22 – 23

speed of, 34

production engineering, 11 , 49

productivity, measuring, 33

programming, 18 – 19 , 59 , 60 , 108 . See also code

abstraction(s), 159 , 170 , 177

leaky, 162 – 163

maps, 163 – 164

models and, 163 , 164

picking, 163 – 165

power of, 160 – 162

pragmatism and, 157 – 158

raising the level of, 156 – 157

storage, 168

asynchronous, 180 – 182

complexity and, 22

DDD (domain-driven design), 125 – 126

feedback and, 60 – 61

parallel, 85 – 86

professional, 182

separation of concerns, 127 , 131

programming languages, 32 , 86 , 92 , 108 , 182 . See also code

domain-specific, 165

Q

quality, 70 , 155 , 157

coding and, 63 – 64

measuring, 34 – 35

organizational and cultural problems, 152 – 154

speed and, 34

R

rationalism, 25 , 26 , 98

RDBMS (relational database management systems), 136

refactoring tools, 75

releasability, 198

repeatability, 22 – 23

Rhumb-lines, 163

S

scalability, 25

precision and, 20 – 21

science, 92

experimentation and, 91 – 92

physics, 98 – 99

rationalism, 98

scientific method, 3 – 4 , 6 , 84

hypotheses, 94 – 95

Scrum, 45 , 50

self-deception, avoiding, 84 – 85

Selig, F., 60

separation of concerns, 127 , 131 , 135 – 136 , 137 – 138 , 150 . See also cohesion

complexity and, 139 – 142

coupling and, 178 – 179

DDD (domain-driven design) and, 142 – 144

dependency injection, 139

Ports and Adapters pattern, 145 – 147

swapping out a database, 136

TDD (test-driven development) and, 149 – 150

testability and, 138 , 144

serverless computing, 26 – 27

services, 174 . See also microservices

modularity and, 115 – 116

soak test, 23

software, 5

cohesive, 130 – 132

craftsmanship, 24 – 25

crisis, 7

formal methods, 13

good design, 121

half-life of, 155

hardware and, 7

high-performance, 128

mass production, 22

precision and, 21

software development, 3 , 6 , 8 , 9 , 31 , 32 , 49 – 50 , 51 , 127 , 188 – 189 , 205 – 206 , 215 . See also cohesion; continuous delivery; experimentation; incrementalism; modularity; programming; separation of concerns

abstraction and, 160 – 162

agile, 44 – 45 , 46 , 50 , 53 , 54 , 69 , 74 , 77

bridge building and, 12

cache-misses, 85 – 86

CI (continuous integration), 54

complexity and, 70

continuous delivery, 33 , 48 , 96

coordinated approach, 183

coupling, 119

creativity and, 74

diagram-driven, 156 – 157 , 165

distributed approach, 183 – 184

empiricism and, 82 – 84

engineering and, 13 , 17

experimentation and, 91 – 92

feedback, 59 , 60 – 64 , 65 – 67 , 68 – 70 , 189

incremental design, 77 – 79

iteration, 43 , 45 – 48 , 51 , 52 , 53 – 55

learning and, 37

managing complexity, 37 – 38 , 78 – 79

measuring performance, 32 – 34

modularity, 106

organizational and cultural problems, 152 – 154

outcomes vs. mechanisms, 210 – 211

predictive approach, 58

progress and, 51

scaling up, 172 – 173

services, 115

solutions and, 51 – 52

stability, 34 – 35

TDD (test-driven development), 54 – 55 , 63 – 64 , 65

testability, 108 – 112

testing, 64 – 65 , 66 – 67 , 75 , 188 , 189

throughput, 34 – 35

undervaluing the importance of good design, 107 – 108

waterfall approach, 37 , 44 , 46 , 48 – 49 , 51 – 52 , 109

software engineering, 4 , 5 , 6 , 28 – 30 , 101 , 180 , 206

academic approach to, 15

Apollo space program and, 15 – 16

birth of, 7 – 8

bridge building and, 11

complexity and, 4 – 5

creativity and, 24 – 25

definition, 4

foundational ideas, 36

iteration, 45 – 48

learning and, 36 – 37

models, 14

NATO conference, 59 – 60

precision and, 20

production and, 11 – 12

programming languages and, 18 – 19

repeatability and, 22 – 23

rethinking, 28 – 30

serverless computing, 26 – 27

tools, 187

trade-offs, 26

waterfall approach, 12

SpaceX, 14 , 17 , 25 , 26

speed, 93 – 94

of feedback, 77 , 93 – 94 , 199

quality and, 34

Spolsky, J., 162

spontaneous generation, 8

SQL, 31

stability, 34 – 35 , 70

measuring, 33 – 34

“State of DevOps” report, 153 , 184

storage, 168

stored programs, 7

SUT (system under test), 111

synchronous communication, 180 – 181

T

TDD (test-driven development), 54 – 55 , 63 – 64 , 65 , 67 , 97 – 98 , 100 , 107 , 108 , 114 , 118 , 143 , 164 , 196 . See also software development

cohesion and, 129

separation of concerns and, 149 – 150

telemetry, 68

Tesla, 208 , 211

testability, 108 – 109 , 114 , 127 , 164 , 189 – 192

improving, 196 – 197

measurement points, 192 – 193

modularity and, 109 – 112

performance, 128

problems with achieving, 193 – 196

separation of concerns and, 144

testing, 64 – 65 , 66 – 67 , 75 , 93 , 118 , 184 , 188 , 189 , 195 . See also feedback

abstraction and, 159 – 160

automated, 97 – 98 , 112 , 199 , 211

coupled systems, 111

feedback and, 67

hypotheses, 94 – 95 , 97

measurement and, 111 – 112 , 113 – 114

modules, 113

results of, 98 – 100

third-party code, 169

throughput, 70 , 95 – 96

measuring, 34

tools of incrementalism, 74 – 76

U-V

undervaluing the importance of good design, 107 – 108

value, 46 , 51 . See also quality

Vanderburg, G., “Real Software Engineering”, 15

version control, 96

W-X-Y-Z

waterfall approach, 37 , 44 , 46 , 48 – 49 , 51 – 52 , 109

agile development and, 53

Cost of Change model, 46 – 48

feedback and, 58

waterfall development approach, 37

Watson, T. J., 51