Video yükleniyor...
Video Yüklenemedi
Morning bathrobe rant at a rainy cabin: test induced design damage.
26,842 görüntüleme • 1 yıl önce •via X (Twitter)
11 Yorum

Write a little test Write a little code

Got fresh coffee? We do.

Original @dhh article here: It's worth reading! His main point is that "Test-first units lead to an overly complex web of intermediary objects and indirection," with which I tend to agree. In my experience, TDD is ok when you have small, incremental changes in your code (which should be most of the time). But when you are trying to code something new where you don't know how the code will end up, writing tests in advance will -IMO- slow you down later when you inevitably want to rewrite it. I think the mantra of "First make it work, then make it right" also applies here, where "work" is "how you want it to be" and "right" is "tested". All in all, this is an endless debate. We've seen great products come out with and without the TDD practice. Fourtunatly in our coding world, there is more than one way to achieve our goals :) That's a good thing (most of the time hehe).

I love that you're leaning in on the crazy look Bob.

I like what Uncle Bob says here but always keep in mind one of the first principles of software development Every line of code is a future liability This applies to your tests too I love these videos

I was hoping for a rant about non-testers vs testers. Received more confirmation bias that I'm doing TDD the correct way.

As my IBMer father used to say “There’s only one thing worse than incompetence-MOTIVATED incompetence “

Fairly sure that these ARCHITECT battles are the result of two different kinds of Software Architects / Devs: 1 - Dev who writes mobile apps (or one-off web apps) 2 - Architect who writes Enterprise software I've written both & they require Two Types of Thinking Both are correct

He is not lying… this article exists (don’t get me wrong, I’m not judging too hard, I say stupid things all of the time as well 😂)

> can't do damage unless you're ignorant or stupid Well...guess I'm screwed then

it's almost like writing an essay for one class and thinking it's a completely different process for writing an essay for another
