Skip to content

Commit 653dd80

Browse files
author
Publisher
committed
Publish Hugo-generated contents.
1 parent d7881e5 commit 653dd80

File tree

28 files changed

+637
-808
lines changed

28 files changed

+637
-808
lines changed

index.xml

Lines changed: 35 additions & 134 deletions
Large diffs are not rendered by default.

posts/a-dagger-to-remember/index.html

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,7 @@ <h2 id="kapt-anger"><code>kapt</code>: anger</h2>
8383
especially if you are running tests more often than the project executable itself.
8484
I’ve asked myself a million dollar question.</p>
8585
<blockquote>
86-
<p>Do you even need <code>kapt</code>?</p>
87-
</blockquote>
86+
<p>Do you even need <code>kapt</code>?</p></blockquote>
8887
<p>Turns out there was only a single annotation-processing dependency in the project.
8988
I think you already know which one. Yep, it was <a href="https://google.github.io/dagger/">Dagger</a>.
9089
Down the rabbit hole we go.</p>
@@ -106,8 +105,7 @@ <h2 id="do-you-even-need-kapt-dagger">Do You Even Need <del><code>kapt</code></d
106105
<a href="https://golang.org/pkg/context/">Go</a> and
107106
<a href="https://spring.io/understanding/application-context">Spring</a>.
108107
You can associate it with Google Dagger <code>@Component</code> or
109-
a Square Dagger <code>ObjectGraph</code>.</p>
110-
</blockquote>
108+
a Square Dagger <code>ObjectGraph</code>.</p></blockquote>
111109
<p>There is a downside though. The Square version had a small but extensive API.
112110
In my opinion, it covered almost everything you need from a dependency injection.
113111
The Google version has grown up big and sometimes not in a good way.
@@ -181,16 +179,14 @@ <h2 id="do-you-even-need-kapt-dagger">Do You Even Need <del><code>kapt</code></d
181179
<h2 id="decisions-decisions">Decisions, Decisions</h2>
182180
<p>All of the above got me thinking.</p>
183181
<blockquote>
184-
<p>Do you need complex tools to solve simple problems?</p>
185-
</blockquote>
182+
<p>Do you need complex tools to solve simple problems?</p></blockquote>
186183
<p>As you can see, the setup is pretty simple.
187184
Yes, <em>potentially</em> Dagger could give some benefits,
188185
but is it worth it increasing build time for every developer on the team
189186
dozens of times per day? And taking into an account the fact
190187
that this setup worked for years without any change at all?</p>
191188
<blockquote>
192-
<p>Do you need to keep using tools designed for different conditions?</p>
193-
</blockquote>
189+
<p>Do you need to keep using tools designed for different conditions?</p></blockquote>
194190
<p>Let’s face it — the annotation processing is a nice idea but meant
195191
for special environments.
196192
It is too verbose to declare everything by hand using Java, so here we go,
@@ -199,8 +195,7 @@ <h2 id="decisions-decisions">Decisions, Decisions</h2>
199195
I have no idea, it is your codebase and your call. I did mine.</p>
200196
<h2 id="back-to-the-roots">Back to the Roots</h2>
201197
<blockquote>
202-
<p>Having a library isn’t cool. You know what’s cool? Not having a library.</p>
203-
</blockquote>
198+
<p>Having a library isn’t cool. You know what’s cool? Not having a library.</p></blockquote>
204199
<p>Let’s go crazy and use Kotlin to make our own
205200
<a href="https://en.wikipedia.org/wiki/Inversion_of_control">inversion of control</a> implementation.
206201
Not <a href="https://github.com/Ekito/koin">Koin</a>,
@@ -211,8 +206,7 @@ <h2 id="back-to-the-roots">Back to the Roots</h2>
211206
<p>I highly suggest reading
212207
<a href="https://martinfowler.com/articles/injection.html">a Martin Fowler article</a>
213208
about inversion of control (IoC) containers.
214-
It contains almost everything you need to know about IoC, so I’m going to talk about practice only.</p>
215-
</blockquote>
209+
It contains almost everything you need to know about IoC, so I’m going to talk about practice only.</p></blockquote>
216210
<h3 id="modules">Modules</h3>
217211
<p>What is a module? It is a registry of dependencies.
218212
What properties a module has? Dependencies on other modules.
@@ -426,7 +420,7 @@ <h1 id="fin">Fin</h1>
426420
pick it based on your needs and do not adapt your needs to a tool.
427421
We develop things to solve issues, not to create them.</p>
428422
<hr>
429-
<p>PS Bonus points to everyone who got <a href="https://en.wikipedia.org/wiki/A_Flight_to_Remember">the Futurama reference</a> 😉</p>
423+
<p>PS Bonus points to everyone who got <a href="https://en.wikipedia.org/wiki/A_Flight_to_Remember">the Futurama reference</a> &#x1f609;</p>
430424
<hr>
431425
<p>Thanks to <a href="https://twitter.com/artem_zin">Artem Zinnatullin</a> and
432426
<a href="https://twitter.com/PreusslerBerlin">Danny Preussler</a> for the review!</p>

posts/abandon-jenkins/index.html

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,8 @@ <h1 id="nope">Nope</h1>
7272
Imagine a weird code issue which takes hour after hour and multiply
7373
it by a factor of uncontrolled external tools and environments.</p>
7474
<blockquote>
75-
<p>⚠️ I have to note this explicitly — I’m describing a situation related to small teams.
76-
Big companies have dedicated units to manage all of this and not a single person.</p>
77-
</blockquote>
75+
<p>&#x26a0;&#xfe0f; I have to note this explicitly — I’m describing a situation related to small teams.
76+
Big companies have dedicated units to manage all of this and not a single person.</p></blockquote>
7877
<p>Some people might think it is cool to be that person — the only one who knows
7978
how the toolchain works. Well, it is really not.</p>
8079
<ul>
@@ -127,8 +126,7 @@ <h1 id="delegate">Delegate</h1>
127126
<blockquote>
128127
<p>Human beings are generally not capable of managing more than six to ten people,
129128
particularly when things go sideways and inevitable contingencies arise.</p>
130-
<p>— <em><a href="https://www.amazon.com/dp/B00VE4Y0Z2">Extreme Ownership</a></em></p>
131-
</blockquote>
129+
<p>— <em><a href="https://www.amazon.com/dp/B00VE4Y0Z2">Extreme Ownership</a></em></p></blockquote>
132130
<p>The same can be applied to the tools we use. There is a limit on how many
133131
things a small development team can manage on its own without losing
134132
the primary goal — to improve the business value of a product.</p>

0 commit comments

Comments
 (0)