David Tanzer is a coach / consultant in the software industry. He helps his clients to get better at software development and to develop better, higher-quality software. Here you can find out more about him and read his blog.
Recently, I’ve been experimenting with doing database migrations directly with JOOQ instead of using some tool like Liquibase or Flyway. And even though it’s just a proof-of-concept for now and the project is mostly on hold, I want to write down what I did so far. Also, I would love to hear your feedback: Pink me on Twitter or via Email.
In the previous post, I said that when you ask a waiter “Is [some dish] vegan?” you would not want to hear the answer “I don’t know”. But what if you ask about a dish that they do not serve? Imagine asking “Are Powidltatschkerln vegan?” somewhere outside Austria. I would totally expect to hear “I don’t know” as an answer. (They are not, by the way). So, we might need a boolean with a third “I…
I posted the image above on Twitter with the caption “Almost vegan”—as a (bad) joke about how something cannot be “almost vegan”. Peter Kofler answered “Almost pregnant”, which made me think of… programming, of course. Types, in particular.
“We are in the middle of a global pandemic, and you still write about technology?!?” - Noone of you, dear readers, asked that (yet), but I will now answer it anyway… Almost over night, everything was different. It is OK to worry, to be scared. But for me, now is also the time to try things. To move closer together, all across the globe, while keeping a physical distance. Let me explain what I…
Last week I tried test && commit || revert - a.k.a “TCR” - for the first time. I went to Mödling (near Vienna) to spend a whole day with Peter Kofler to learn this technique. We did three sessions: “FizzBuzz”, then a “Snakes & Ladders” game and again the “Snakes & Ladders” game. Before I’ll describe what happened there, TCS means (as defined by Kent Beck):
“When you have a lot of tests; What do you do when you want to change something, and the tests get in your way?” I hear this question - in one form or another - every now and then. I hear it during the trainings I teach, when coaching or when I am working on some code with a team and try to convince them to write more automated tests. It is one of the objections I often hear against doing test…
Recently I was teaching a course about “Software Crafting” to a group of developers, all from the same company. We agreed that I would prepare three days of training (or workshops), and then we would spend two days on whatever they wanted. The original idea was to mob program on their produciton code in those last two days, so we could work on problems they have right now. But after the three…
Last week I was teaching TDD to two groups of programmers. And in the first group, someone asked me “Why do you always want me to write wrong code?” I was thinking to myself: “You are wrong, I do not want you to write wrong code, I want you to write the right code!” Fortunately, I did not say that out loud. Instead I asked: “I think I don’t understand what you mean. Can you explain it to me?” Then…
At the We Are Developers World Congress 2018, I gave a talk about how to deal with legacy code using the Mikado Method. So, here is the concrete example I gave in my talk.
I enter the room. I’m about to give a talk at a conference. They gave me the biggest room of the venue. Oh my god, I did not realize how big it is. I hope it won’t be full. Oh my god, I hope it won’t look empty! I go to the audio engineer. Getting my microphone, testing my laptop. I wait somewhere near the back. My heart starts racing. Slowly, the room is filling. So many people. Why did I submit…