As an ex-machinist this thread title really threw me!
Steel Threads are a powerful but obscure software design approach
21–30 of 89 posts
Re: Steel Threads are a powerful but obscure software design approach
#22Earlier quoted context omitted.
> TDD, which assumes how an API is going to be used, I think you misunderstand TDD.
If you write tests first, you don't write a complete front to back "thread" first, right? If you write tests first, you assume that the test is going to match how you're going to use the stuff in a real situation, which you generally don't know.
Not sure what kind of tests you write if they don't represent the actual expected behavior?
Re: Steel Threads are a powerful but obscure software design approach
#23> Let’s say you’re building a new service to replace a part of your monolithic codebase. Why would I do that instead of building good configurable monoliths?
As much as I am a fan of monoliths, too many configuration parameters will land you in a world of hurt. You may start with 20 options but people will demand more and more options if you don't stop them very early. Those options will have side effects that other options are supposed to fix and those will also have side effects and in the end you have 1000 options, all doing various things nobody knows. The worst part…
Re: Steel Threads are a powerful but obscure software design approach
#24This reminds me of something John Carmack tweeted once (can't find the tweet). In the tweet, he said that when coding, he'd start by the smallest possible PoC, and code it entirely front to back. That'd give the general structure, and then he'd build upon that. (this is what I remember of it fwiw). I do this all the time too, which I think is a vastly superior approach to TDD, which assumes how an API is going to be…
Read the fibonaci example at the end of Becks book. He does in fact start with the smallest possible PoC.
Re: Steel Threads are a powerful but obscure software design approach
#25Never heard it called this before. We used to describe this as a tracer bullet through the system. https://flylib.com/books/en/1.315.1.25/1/
Re: Steel Threads are a powerful but obscure software design approach
#26Re: Steel Threads are a powerful but obscure software design approach
#27Re: Steel Threads are a powerful but obscure software design approach
#28> Let’s say you’re building a new service to replace a part of your monolithic codebase. Why would I do that instead of building good configurable monoliths?
Re: Steel Threads are a powerful but obscure software design approach
#29This reminds me of something John Carmack tweeted once (can't find the tweet). In the tweet, he said that when coding, he'd start by the smallest possible PoC, and code it entirely front to back. That'd give the general structure, and then he'd build upon that. (this is what I remember of it fwiw). I do this all the time too, which I think is a vastly superior approach to TDD, which assumes how an API is going to be…
The real problem is getting to the point where the initial solution you imagine is close to the initial PoC.
Re: Steel Threads are a powerful but obscure software design approach
#30> Let’s say you’re building a new service to replace a part of your monolithic codebase. Why would I do that instead of building good configurable monoliths?
Also optimize in-process before going out-of-process