
Software architecture, agile software development, chess
Joined April 2013
- Tweets2.1K
- Following173
- Followers107
- Likes20.3K
Andrei Soloschak retweeted
AI proponents and providers make up their ai maturity charts and the top level is always "no humans needed."
Not "better software" or "no defects" or "better market fit." Not "happy customers." Not "better working conditions" or "higher productivity".
"No humans"
Andrei Soloschak retweeted
Mob/Ensemble "programming" has always been more about collaborative thinking than coding. The coding part is done by the Driver almost as an afterthought. The ensemble is doing the real work: discussing the issues at hand and collaboratively developing solutions. The programming is just one person taking notes of that discussion, using code as the vehicle. The real work is in the discussion, not the coding. When an AI can take over most of the driver's work, what's left is the collaboration. That's not a bad thing, and it's an effective way to work, whether or not an AI is involved.
Andrei Soloschak retweeted
I have a new version of the paper I have been working on. "Compile-Time Bounded Process Managers A Join-Calculus DSL for Event-Sourced Messaging Finite State Machines".
There is a significant amount added and now it is formatted.
Feedback encouraged
limewire.com/d/b5cOs#zb2SvH0…
Andrei Soloschak retweeted
Saturation Testing. I use crapper and mutator to ensure that every expression in the system is covered by tests. If an expression is changed, one or more tests will fail.
This used to be impractical. We simply could not afford to create that many tests. We also could not afford to change so many tests when requirements changed. The burden was too high.
Now it’s trivial. The agents, under the lash of crapper and mutator, will write those tests and make them pass. And when requirement changed, they’ll write the new tests and change the old tests.
None of this proves that the system works. That’s up to humans to judge. Humans can do that with tools like gherkin, or they can use manual tests.
What the saturation tests provide is Semantic Stability. When the requirements change, and code has to be added and changed, those tests ensure that those changes do not inadvertently break unrelated parts of the system.
Andrei Soloschak retweeted
I used to be a language lawyer. In the late 80s I _studied_ the ARM (Annotated Reference Manual for C++). I knew the language cold, inside and out. I could make it do backflips. I shipped a lot of code using it. A LOT.
I’ve attacked other languages with a similar intensity and depth. Until recently, that was simply the only way to become adept at building software systems.
I now consider the deep understanding of a language to be a supreme waste of time and effort. I don’t want to learn Rust, or Golang, or Typescript, or any of the thousands of other languages out there. I’ll leave that to my agents.
What I need now is to understand the high level gestalt of the system. I want to see the systems and subsystems. I don’t need to inspect the cogs. If I truly need to understand a detail at the cog level, I’ll interrogate my agents. I’m not going to pretend to be a language expert anymore.
Andrei Soloschak retweeted
Replying to @steipete
“Your job is to help the LLM write better code faster.”
Strange: I thought the job of a software engineer was to bring value to stakeholders in an enduring, economically sustainable, and ethical fashion.
I suggest you reconsider your life choices, Peter.
Andrei Soloschak retweeted
Replying to @dhh @adymitruk
The real AI psychosis is thinking “this is an existential risk to humanity” or “it is a reliable and accurate source of judgment, reason, and knowledge” and “it is conscious”. You gotta snap out of it.
Andrei Soloschak retweeted
“There’s an old joke that if building architecture and construction practices were like software architecture and construction, the first woodpecker to come along would destroy civilization. Looks like the woodpecker is here for the software.”
Andrei Soloschak retweeted
Let's start by stating the obvious: The corporate behemoths are dictatorial, soulless hellholes that dehumanize people and do active harm to their employees. (Now tell us what you really think, Allen 😄.) Every one of them (at least the ones I've seen) is vastly ineffective in how they do things compared to smaller, more humane organizations. They succeed because they have more money than Croesus. Treating them as some sort of a north star is misguided at best, and modeling your smaller organization after them is a sure path to failure. They cannot change, so virtually none of what I write about applies to them.
If you work at a place like that, my heart goes out to you, but imagining that every place must be like that is myopic.
If you want to see how things should be done, take a look at Valve Corp. (The Valve New Employee Handbook is a must-read [t.ly/pbBIj].) Valve is a $5B-annual-revenue company with about 500 people. (That revenue-to-people ratio alone should get you thinking—huge payrolls are about manager ego and fiefdom building, not effectiveness. The point of diminishing returns comes very early.) Valve has NO mid- or team-level management, and their teams are entirely self-selecting. They've been doing this for almost two decades, so this is not some flash-in-the-pan, wide-eyed idealist organization. If 500 people can do it, 5,000 (or 50,000) can as well. Just split the behemoth into smaller units, as W. L. Gore famously does.
Another great company is Menlo Innovations, which is a 200-person agency that has created an ideal workplace over the past 25 years. This is the sort of place where people bring their babies to work. Their CEO Rich Sheridan's book "Joy Inc." [link.amazon/B0iKa3sc7] is another must-read. Rich has also given several talks on YouTube if you're pressed for time.
So many of us work in hellholes or hellhole wannabes that we've come to believe that that's the only way to do things, but it isn't. It's worth at least knowing there are alternatives.
Andrei Soloschak retweeted
Replying to @skdh
A description that humans cannot understand would be an indication that the description was, in fact, incorrect.
Andrei Soloschak retweeted
I spent a late night playing with the new AWS Lambda Web Functions. I wanted to test some frameworks and protocols. So, i put together a repo and a blog about them. Oooobbviously not exhaustive. But fun for me. Enjoy! edjgeek.com/blog/why-i-m-exc…
Andrei Soloschak retweeted
“Majority of code is now written by AI, and people do not check it very carefully anymore. … Handing over that much to the AI is irresponsible”
– @hilbertspaess (possibly slightly paraphrased from memory)
Fully agree with him on that part.
Andrei Soloschak retweeted
I keep hearing from the hypemeisters about getting six months' work done in a week. If you've experienced that, I'd love to hear:
(1) Was that work actually delivered to your customers at the end of that week? How many customers?
(2) If so, did support incidents increase or decrease after the release? Did revenue increase because of that specific release, and can you substantiate that claim? Were shortcuts taken (less testing, fewer reviews, etc.)? Were the delivered features something the customers actually needed (did you talk to them)? Was there any feedback during development to assure you were building the right thing?
(3) If not, what were the obstacles to getting the code into people's hands?
Thanks!
Andrei Soloschak retweeted
When a customer or user asks for a specific new feature or change, the first question to ask is "why do you need that?" or better yet, "what work are you doing, and how would that feature make your life easier?" From there, you can start brainstorming about the best way to solve the problem you just identified. There are often better alternatives than the original request.
Andrei Soloschak retweeted
The reason good engineers get 10x more out of AI than people who didn't write code in the before-times, is that there's basically no need for insane tricks to get what you want from the model
It's not "Make a plan, then do an adversarial review of it, then ask another model to critique the plan, then implement the tests, then write the code that passes the tests and make a PR. Then write a summary of the PR and generate a video of that summary for me to watch TikTok style".
It's "do exactly what the fuck I said, I'll read the code when you're done"
Andrei Soloschak retweeted
It's never a good idea, in my experience, to split an application horizontally—into back-end and front-end subsystems assigned to different teams, for example, or into separate application and platform teams.
Typically, back-end/platform interfaces are vastly more complicated than they need to be to solve the actual problem at hand. They are based on guesswork about what another team might need, and often introduce considerable complexity to address eventualities that never come up. (It's rare for the back-end teams to have regular conversations, much less a collaborative relationship, with the people who will be using their work, so it's all guesswork.) Too much "flexibility" of this sort is deadly. In the worst case, back-end "improvements" made in isolation can break the front end entirely.
On the front-end/application side, the unnecessary complexity makes simple tasks difficult. Sometimes it's impossible to do things you need to do. That mismatch creates a time-consuming "discussion" between the two teams to change or augment the APIs. Your delivery pace slows dramatically, and in many cases, the issues are never resolved satisfactorily.
Then there's constant squabbling and infighting (and budget battles) between the two camps.
The solution is to work in thin vertical slices, where teams have all the skills they need to get an entire feature (I'm reluctant to use that word, but think small) out the door and can touch whatever code they need to touch to do that. When APIs are created only when needed and do exactly what's needed and no more, unnecessary complexity is never introduced.
That's not an easy change to make in the face of entrenched management that has a vested interest in maintaining the silos, however. Governance is also a problem. A team cannot make changes to an API that break existing code, for example. That's one of the reasons you need somebody in the Architect role—to coordinate (not dictate) changes—but that's another political can of worms. Architectural review boards are a disease.
So, the problem may be intractable in your organization, but the more collaboration and focus on building the minimal system that gets the job done happen, the better off you'll be.
Andrei Soloschak retweeted
I've found that using TDD as part of my process, when I specify the tests and then tell the AI to get them to pass, works pretty well. However, I was just reading an interesting post from Birgitta Böckeler at Thoughtworks about using TDD inside (!) the agent loop [t.ly/U0KfM]. In other words, instruct the AI to create a test and then get it to pass, all without human intervention. Her conclusion was that, not only did that not do anything useful, but it made the code worse (and more expensive—token costs went up). Can't say that I'm surprised.
TDD is all about human beings and how they work—there's nothing magic in it. For a human:
* Writing the test first keeps us focused on what the code needs to do. By writing only enough code to get the test to pass, we keep the system as simple and small as possible (and we get close to 100% coverage, FWIW).
* Test first guarantees that the code is testable (though on the downside, the TDD tests are often too honed in on the implementation and not enough on what the code needs to do in the domain).
* The red-green step guarantees that the test actually works.
* TDD forces us to work in small steps, so we don't build code we don't need.
* TDD tests give us highly localized feedback. When a TDD test fails, we know exactly where the problem is.
* TDD manages fear. We are never more than a few lines away from a fully functional and tested system. If newly written code fails, the absolute worst case is rolling back the last 10 lines of code we wrote and trying again. We are never in a position of not knowing.
* The red-green-refactor loop (or the TCR loop: "test && commit || revert") is an incremental process that gives coherence to the overall system by making small changes that move us to a common goal.
Pretty much all of these advantages disappear when they're moved inside the AI loop, but it makes a lot of sense to leverage an AI as part of the TDD process. For one thing, we don't have to spend time looking at the generated code. The very fact that the test passes and we create only enough code to get the test to pass is plenty of validation. The fact that we're doing TDD means that we test everything the AI does, so the trust factor goes way up. Also, the incremental nature of the process keeps contexts small and limits the blast radius of an AI-induced change.
So TDD inside a loop seems ridiculous to me, but TDD as part of a human-AI collaboration makes a huge amount of sense.
Andrei Soloschak retweeted
Heart of Agile getting a refresher in the age of AI
linkedin.com/feed/update/urn…
Andrei Soloschak retweeted
I've been hearing people lament that, if AI replaces junior programmers, then how will we get new senior programmers when nobody's in the pipeline? If the AI is good enough to replace a junior programmer, then it will soon be good enough to replace a senior one, so the mentoring question is moot, at least when it comes to coding.
However, I see myself as a technically proficient product developer, not a coder. Coding is only a small part of product engineering. AI cannot do most of what's left. There are plenty of both juniors and seniors in the product-engineering space, so I'm not worried.
I see nothing wrong with eventually leaving coding to the machine, though the AIs are not there yet—even Fable makes occasional horrific mistakes, and it still needs considerable guidance. The transition seems inevitable, though. That said, there's plenty to do, even if we drop the coding altogether. The people who hold onto coding as the only thing that matters will be left behind.
So, we, as an industry, need to stop wringing our hands about coding and pivot toward product development as a whole—something we should have been doing all along, but are now forced to do. Of course, that means that people (or neurodiverse teams) will have to actually talk to customers 😄. It's a brave new world.
It's time to expand our notion of what software engineering entails beyond mere coding. The role of the technical product-development engineer is not going away; it's on the rise, in fact.









