Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up
for free
Conventional Wisdom
Andrew Best
November 30, 2015
Technology
1
99
Conventional Wisdom
How you can leverage convention tests to build good codebases
Andrew Best
November 30, 2015
Tweet
Share
More Decks by Andrew Best
See All by Andrew Best
andrewabest
0
47
andrewabest
1
160
andrewabest
0
180
andrewabest
2
87
andrewabest
0
84
andrewabest
3
130
andrewabest
0
190
andrewabest
0
46
andrewabest
0
78
Other Decks in Technology
See All in Technology
aditya45
2
2.4k
ayanadesu
0
410
torisoup
11
6.2k
uzabase_saas_product
0
100
thockin
3
960
gamella
3
1.5k
900groove
2
510
syoshie
0
650
uzabasetech
2
720
raykataoka
9
8.6k
minma
0
210
sat
40
29k
Featured
See All Featured
vanstee
117
4.9k
paulrobertlloyd
72
1.4k
jasonvnalue
81
8.1k
jensimmons
207
10k
mojombo
359
62k
bermonpainter
342
26k
caitiem20
308
17k
mongodb
23
3.9k
bkeepers
52
4.2k
philhawksworth
192
8.8k
keithpitt
401
20k
myddelton
109
11k
Transcript
Conventional Wisdom Andrew Best
Page Good codebases are? › Easy to reason about ›
Express clear opinions › Have low cognitive overhead › Inspire confidence › Are self enforcing › Are malleable / Copyright ©2014 by Readify Pty Ltd 2
Page How? › Write good code! </joke> › Leverage tools
that help us validate our codebases › The .NET type system › Mono.Cecil › Combine these with tools that run these validations at build time › Unit testing frameworks › CI / Copyright ©2014 by Readify Pty Ltd 3
Page Conventional › A .NET library for inspecting types, assemblies,
solutions and databases, available on nuget › Provides a large set of conventions that can be applied out of the box, or you can create your own › Fits in with your testing framework of choice › Gives human-readable output whenever conventions are broken, so we can go and fix our code! / Copyright ©2014 by Readify Pty Ltd 4
Page To the code! / Copyright ©2014 by Readify Pty
Ltd 5
Thankyou! @_AndrewB andrew.best@readify.net