by ChrisMarshallNY · 6y ago · 0 comments
Not everything has been a success, and I was not the “big boss,” during most of that time, so I often had to work in far-from-perfect systems.
The one thing that has been a constant drumbeat, throughout my entire career, was a relentless focus on “Done.”
“What does ‘Done’ look like?” Is a question I’m constantly asking myself. It can change, as the project progresses, but it’s always there.
I tend to start vague, with “Done” being almost abstract, and get sharper and more focused, as the project coalesces around an end-user deliverable.
As I said, I have had many less-than-stellar outcomes, but I’ve always delivered an end product.
The best ones have been the ones with the least planning up front. Not always the most ambitious ones, but the best ones.
I’ve learned to adopt an “organic” project process, based on the assumption that it’s impossible to know the end result when I start.
I write about that in these articles:
https://littlegreenviper.com/miscellany/evolutionary-design-...
https://littlegreenviper.com/miscellany/forensic-design-docu...
https://littlegreenviper.com/miscellany/thats-not-what-ships...
At least in the software world, I'd say an abandoned project is done. Good enough to ship is something else entirely.
> I’ve learned to adopt an “organic” project process, based on the assumption that it’s impossible to know the end result when I start.
For some things you do want to spend a bit more time planning up ahead, as some decisions can be hard to undo later.
But I think one should definitely try to make code pieces as modular as possible, and as easy to change as possible. As you say, the final product will likely not be as one imagines at the start. Especially since customers seldom know exactly what they want.
So many times I can whip up new features in short order, because I spent some time up ahead making small reusable modules out of functionality, so it's easy to use from elsewhere.
Absolutely. That's the key. Modules and layers; each with its own project identity and lifecycle. loose-coupling, minimal APIs, and reevaluation phases at the completion of every module.
If you do this right, projects can be almost "Lego" simple, with the ability to rapidly reconfigure to adapt to changing requirements.
Here's an example. Yesterday, I was working on a "UUID scrubber" for the Bluetooth project I was working on (https://github.com/RiftValleySoftware/BlueVanClef). I started by having a private class function to do the scrubbing, but realized that this would be something that could be useful for any similar project, so I broke it off, and added it to my toolbox project (https://github.com/RiftValleySoftware/RVS_Generic_Swift_Tool...). That meant that I also had to write a unit test for it, and then update my Carthage include.
Took, like fifteen minutes, and I now have a permanent tool for scrubbing UUIDs.
Another habit that I developed, was making every project I do, including "one-off" experimental projects, "ship quality."
I simply cannot put too much stress on the need for maximum quality. As a lone developer, I just cannot afford bugs. It's imperative to do it right the first time.
The general argument against a high-quality process is that it is inefficient and slow.
Unless you make it a habit.
"We are what we repeatedly do. Excellence, then, is not an act, but a habit."
-Aristotle (Probably, but these attributions should always be taken with a grain of salt)
I am the big boss of our 12 person company but I still cannot ever get to a perfect system. Yes in theory, I can make all the decisions and impose BUT it is far from it. The challenges of building a perfect system is not only related to how much power you have (yes it helps) but many other factors.
I worked for a Japanese company for most of my career.
It was...challenging.
HUGE team of very, very capable engineers (I regularly worked with some of the finest scientists and engineers in the world), but hidebound like you wouldn't believe.
I quickly learned never to use the word "agile" when talking to my bosses. Frowny faces appeared everywhere. They considered it a "low quality" process.
The main issue, is that I was talking to top-shelf engineers and managers, who had been delivering top-quality products for 100 years. This was not trying to convince impressionable American VCs or play "buzzword bingo." These folks knew how to do something, and they had been having success for generations.
It's just that what worked so well for hardware, went pear-shaped with software, and I was never able to successfully convince them of that.
That made me very sad, as I think that they really lost a lot of benefit, because they couldn't pivot into modern software engineering. I loved that company, and I have tremendous respect for my peers in Tokyo.
Since leaving that company, I have been working on my own, and implementing the ideas that I cultivated while working there.
It's been fairly effective.
Those cranky bastards had one thing right, though. The software industry has a shockingly high tolerance for crap. It's a real challenge to try to advocate for doing quality work.
99.999…% of all software is utter crap. If people would build houses like they build software we would generally all live in paper boxes glued together by duct tape. And those paper boxes would explode on a regular basis for unknown reasons…
Still you will hear most people in this business saying: "That's fine". Look, "it works".
I don't think this will ever change. One of the reasons this won't change (besides development costs of course) is imho the overall mindset that "bugs are unavoidable, any software has bugs". As long as it's a "natural" thing to deliver buggy crap, and people declare you outright crazy if you even mention that there's something quite wrong there, no chance that this will change (at least not until software will be produced mostly by machines).
One reason is that I keep my scope fairly humble, so it can be argued that software that doesn't do that much doesn't have room for bugs.
But I like to avoid dependencies, if at all possible, and have a number of habitual practices in my coding that I think result in exceptional quality.
Problem is, it's not valued at all. I'm in a semi-retired status, and have found that no one wants decent quality.
It's been rather depressing, TBH.
One of the open-source systems I designed is becoming a worldwide infrastructure, and they have more bugs than ever (I don't code it anymore), and that means they have maybe 20 issues, in all; across about 50 subprojects. When I was doing it, it was a single-digit count, but only about five projects.
It's still of remarkably high quality. The folks who took over are good, and follow good practices. Also, the substrate is very strong.
I had a boss who relentlessly focused on getting things done, neglecting anything but the immediate cost. If the cost could be pushed into the future (well, that wasn't the calculation - it was more like 'can I ignore this right now') then it was. He built up a whole lot of technical debt that was expensive to deal with, and some never was dealt with, so continued costing permanently. Any thoughts?
Tech debt is a HUGE deal. Since I work alone (for the most part) these days, it’s an absolute killer.
I can’t afford it at all.
The single biggest guarantor of a massive debt (IMNSHO) is a rigid up-front specification.
Or the lack of any meaningful upfront planing.
This goes in both ways. But I agree of course with the above. Detailed specs, especially done in some ivory tower, will cause massive problems, no question.
I call the upfront spec my "Napkin Sketch." It's often a single diagram.
It's kind of sad, though. What you said above ("I’ve learned to adopt an 'organic' project process, based on the assumption that it’s impossible to know the end result when I start.") is literally what Agile was trying to convey when it started out.
True IME. Any time I see the word Agile, I now consider it to mean Clusterfuck In Progress.