-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstop-for-a-second-and-think-about-it.html
More file actions
138 lines (117 loc) · 5.48 KB
/
stop-for-a-second-and-think-about-it.html
File metadata and controls
138 lines (117 loc) · 5.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Stop for a second and think about it ← Vinicius Horewicz</title>
<meta name="viewport" content="width=device-width">
<meta name="author" content="Vinicius Horewicz (wicz)">
<meta name="description" content="wicz' personal notes">
<link rel="alternate" type="application/atom+xml" href="/atom.xml" title="RSS feed" />
<link rel="stylesheet" href="/assets/stylesheets/normalize.css">
<link rel="stylesheet" href="/assets/stylesheets/monokai.css">
<link rel="stylesheet" href="/assets/stylesheets/main.css">
<link rel="stylesheet" href="/assets/stylesheets/screen.css">
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.0/css/font-awesome.css" rel="stylesheet">
<link href="//fonts.googleapis.com/css?family=Roboto:400,300,300italic|Roboto+Slab:300|Ubuntu+Mono" rel="stylesheet" type="text/css">
<script src="/assets/javascripts/modernizr-2.6.2.min.js"></script>
</head>
<body>
<div class="container">
<p><a href="/">← index</a></p>
<section class="post-content">
<header>
<h1>Stop for a second and think about it</h1>
<time datetime="2013-05-27T00:00:00+02:00" pubdate>27 May 2013</time>
</header>
<article>
<p>A while ago I got asked two questions. Two simple, not to say
unpretentious, questions. And that simplicity is the real beauty. We
all know <em>the Devil is in the details</em>, and those questions, they
hide a lot.</p>
<p>I loved answering them—specially the second—because they made me
write down, in a couple of sentences, about things that are so usual in
our busy lives that we sometimes ignore or take for granted. It was a
good reflection exercise I think it is worth sharing.</p>
<blockquote>
<p><em>Why is TDD a good thing? Why is it bad?</em></p>
</blockquote>
<p>I like Kent Beck’s definition of TDD as <em>test-first + incremental
design</em>. And tests being automated, of course. It is great because it
allows the developer to alter the codebase in a sustainable way, backed
up with the safety net of the tests.</p>
<p>I do not think it is bad at all, unless you are doing something wrong.
For example, if your test suite takes too long to run and you think this
slows your development, chances are this is not the tests fault, but of
a tightly coupled design. Or maybe your unit tests are constantly
hitting the database, it may be a bad implementation. In some rare
cases, it is not worth to automate all your tests upfront, but not
having them is not an option.</p>
<p>Some may say is a waste because it takes too much time writing code the
user will not actively benefit from. Part of this may be true. It may
take some time writing code that is not a feature of the system, but it
pays off with a consistent software design and drastically reducing the
time spent finding and fixing bugs.</p>
<blockquote>
<p><em>What could lead you to smash your computer because of us?</em></p>
</blockquote>
<p><strong>Rework.</strong> I hate wasting time, specially when I have to work on things
that should have been done right in the first place, but were not
because someone was lazy or did <a href="http://gojko.net/2012/05/31/how-to-solve-not-enough-time/">not have enough
time</a>.</p>
<p><strong>Implementing hypothesis that were not validated.</strong> People tend to
think they have “killer ideas”. Do not ask me to do anything until it
has been proven worth doing. Read <a href="http://runninglean.co/">Running Lean</a>
to understand my point of view.</p>
<p><strong>Bureaucracy and pointless meetings.</strong> I am agile, lean and pragmatic.
Let’s not waste our precious time on things that will take us from
nothing to nowhere.</p>
</article>
</section>
<!-- Enable Disqus comments -->
<div id="disqus_thread"></div>
<script type="text/javascript">
var disqus_shortname = 'horewicz';
var disqus_identifier = '/stop-for-a-second-and-think-about-it';
var disqus_url = 'http://horewi.cz/stop-for-a-second-and-think-about-it.html';
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<footer>
<a href="about.html">
<i class="fa fa-info-circle fa-fw fa-lg"></i>
</a>
<a href="https://www.linkedin.com/in/viniciushorewicz">
<i class="fa fa-l1nkedin fa-fw fa-lg"></i>
</a>
<a href="https://github.com/wicz">
<i class="fa fa-github fa-fw fa-lg"></i>
</a>
<a href="https://twitter.com/wicz">
<i class="fa fa-tw1tter fa-fw fa-lg"></i>
</a>
<a href="https://stackoverflow.com/users/3243455/wicz">
<i class="fa fa-stack-overflow fa-fw fa-lg"></i>
</a>
<a href="/assets/wicz.pub.asc">
<i class="fa fa-lock fa-fw fa-lg"></i>
</a>
<a href="/atom.xml">
<i class="fa fa-rss fa-fw fa-lg"></i>
</a>
</footer>
</div>
<script type="text/javascript">
var _gaq=[['_setAccount','UA-8480243-3'],['_trackPageview']];
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
s.parentNode.insertBefore(g,s)}(document,'script'));
</script>
</body>
</html>