Some rambling thoughts inspired by a response to other rambling thoughts
By Richard Dahl
Published: 2026-03-28
URL: https://cursingatclod.substack.com/p/on-the-future-of-software
This post was inspired by a comment on one of my li post’s about the future of software development. This is the short post:
High-level prediction for the future of AI generated software:
Git and all of the current sw dev tools will be demoted if not eliminated entirely. Software “Repositories” will move into more structured format (not files) for lifecycle management and will contain structured code-quality standards, architecture standards, llm model standards, prompt/prompt templates, security requirements, documentation, etc...
Instead of downloading a repo and passing it to your codebot, you’ll download a software package that can write itself, deploy itself, and has everything it needs to do so correctly.
I know that some of you are thinking, that sound’s similar to what we have with agents! I know, but I am not talking about an agent, I am talking about a runtime, a platform, a framework, a library, whatever the software does, integrated completely with everything needed to extend, repair, refactor it.
This is the only way I personally can see automated software development being truly reliable.
Anyone have any other ideas?
Bizarrely, this post on li attracted far more trolls than usual, which I did my best to shame. Some were simply unimaginative people that reacted with laughter, one provided a masterclass on git, but the majority of the negative comments were similar.
Thanks for reading! Subscribe for free to receive new posts and support my work.
I think, they latched onto this sentence and took it literally, not figuratively:
...you’ll download a software package that can write itself, deploy itself, and has everything it needs to do so correctly.
When I wrote it I thought that, in the overall context, its meaning was clear. I was clearly wrong.
Anyway, the post was about structure, not automation.
There were some really great comments, including this one:
Can you explain more? This process of “download a software package” - what’s in the package? And why is it not being stored in Git? All the things you describe, architecture docs, prompt templates, etc, can go in a git repo. Having it organized in such a way that AI can make sense of it is a reasonable ask, but I don’t think that means throwing away all the existing tools.
This was my li response to that comment:
One point is this: text files are a horrible medium for any type of data analysis. Everything is convention including structure and content. Extensions indicate the files format not the data within. myapp.py may have 9 imports and 1 class or 2 imports and 1 function and 0 classes.
This is nothing new, db’s, knowledge graphs, json, xml, etc... are all better for reasoning and analysis than a text file.
Source files are only truly needed with some languages for compilation, and they are easy(ish) for humans to work with so are the obvious choice for persistence.
LLMs struggle with source files. They are inefficient, often reading an entire codebase or file listing and literally guessing based on file name or search pattern to find the symbol(s) they need. Indexing helps of course, but it is still a difficult medium for the types of analysis required to write code.
So, perhaps in the future, instead of downloading a source repo containing only source files, you would download a package that contained a structured representation of the code that is the source of truth and would get a projection of files to review and compile.
And that’s where I ran out of room. So I’ll expand on this here:
Git is great, I use it, but it is not required to write software. It itself is software. It’s been around a couple of decades or so and the most popular distributed versioning system in use. But git is fundamentally designed for human-centric workflows, and that is the lever now that is moving.
I believe that human authored source code is going away. Yes, there will always remain those dedicated "artisan coders" offering "craft-ware" at the farmer's markets and swap meets, but the software development process has fundamentally changed.
Release the trolls!
So many people have a visceral reaction to statements like this, but I don’t see how it will be false. So relax, take a breath, and read to the end of this article before you decide if your outrage is warranted. Hint: it isn’t. My position, of course could be wrong, but it’s not offensive, and it’s certainly not personal.
This transition will not be achieved through simplistic prompts to an LLM or an AI agent:
write a financial planning app that is secure and works great and helps me manage my investments and always gets the pluses and minuses correct
Will, sadly, not produce a reliable clone of one of the popular commercial apps. It may appear to work, and I concede, it is possible that it would work 100% accurately and produce a reliable clone, but that would be the extreme exception and not my, or statistically, your experience.
That is just not possible now, and I don’t believe that will every be possible with LLMs. The LLM architecture is and will remain fundamentally unreliable. Agents won’t solve it either, I just don’t see how you get more reliability by letting an architecturally unreliable system control additional architecturally unreliable systems, but that’s not my area of expertise, so I may be completely off base. Doesn’t matter to this topic at all.
However, there is a great deal of real value provided by LLMs and agentic systems for code generation and analysis. So much so that I, and others, have already made the switch to 100% LLM generated code. I have not written a line of code in almost 18 months. Yet, I am editing better code than ever before.
It is hard. It takes a lot of work, and an enormous amount of thinking, just not as much about syntax, and more about data structure, code architecture, SOLID, DRY, patterns, anti-patterns, etc...
If you are thinking b6t, Richard, LLMs produce slop! Well, your mileage may vary, as they say.
I use a granular and iterative process.
Consider this:
define a django model class to store data about cigars, consistent with django 6 and incorporating all django 6 idioms and patterns. Avoid all python and django anti-patterns.
I sent this to Grok, selected because it is not regarded, to my knowledge, as being leading edge for coding.
This was the unedited response after thinking for 1m 12s:
from django.db import models from django.urls import reverse from django.utils.translation import gettext_lazy as_ class Cigar(models.Model): """A Django 6 model representing a cigar, following all official idioms and patterns.
- Uses `TextChoices` (enhanced/enumeration support in Django 6).
- Implicit `BigAutoField` primary key (Django 6 default via `DEFAULT_AUTO_FIELD`).
- No `null=True` on `CharField`/`TextField` (anti-pattern avoided).
- `blank=True` only where semantically appropriate for forms/validation.
- `db_default` not used here as no database-computed defaults are needed, but the pattern is ready if required.
- `Meta` includes `verbose_name\*`, `ordering`, `indexes`, and `constraints` (preferred over deprecated `unique_together`).
- Full field options: `verbose_name`, `help_text`, `default`.
- `__str__` defined.
- `get_absolute_url` defined (official recommendation for admin/URL identification).
- Timestamps with `auto_now_add`/`auto_now`.
- Slug for canonical URLs (common modern pattern).
- No custom `__init__`, no overridden `save()`/`delete()` unless needed (bulk ops would ignore them anyway).
- No manager override (default `objects` is sufficient).
- No abstract/proxy unless extending later.
- No field-name conflicts with model API.
- Lazy translation via `gettext_lazy`.
""" class Strength(models.TextChoices): """Strength level (Django 6 TextChoices pattern).""" MILD = "MILD", _("Mild") MEDIUM = "MEDIUM", _("Medium") MEDIUM_FULL = "MEDIUM_FULL", _("Medium-Full") FULL = "FULL", _("Full") brand = models.CharField( max_length=100, verbose_name=_("Brand"), help_text=_("Manufacturer or brand name"), ) name = models.CharField( max_length=200, verbose_name=_("Name"), help_text=_("Specific cigar name/line"), ) vitola = models.CharField( max_length=100, verbose_name=_("Vitola"), help_text=_("Shape/size description, e.g.
Robusto, Toro"), blank=True, ) length_mm = models.PositiveSmallIntegerField( verbose_name=_("Length (mm)"), help_text=_("Length in millimeters"), ) ring_gauge = models.PositiveSmallIntegerField( verbose_name=_("Ring Gauge"), help_text=_("Diameter in 64ths of an inch"), ) wrapper = models.CharField( max_length=100, verbose_name=_("Wrapper"), help_text=_("Wrapper leaf type/variety"), ) binder = models.CharField( max_length=100, verbose_name=_("Binder"), help_text=_("Binder leaf type/variety"), ) filler = models.CharField( max_length=100, verbose_name=_("Filler"), help_text=_("Filler blend description"), ) origin = models.CharField( max_length=100, verbose_name=_("Origin"), help_text=_("Country of manufacture"), ) strength = models.CharField( max_length=20, choices=Strength.choices, default=Strength.MEDIUM, verbose_name=_("Strength"), ) msrp = models.DecimalField( max_digits=6, decimal_places=2, verbose_name=_("MSRP"), help_text=_("Manufacturer's suggested retail price in USD"), ) description = models.TextField( blank=True, verbose_name=_("Description"), ) slug = models.SlugField( max_length=255, unique=True, verbose_name=_("Slug"), ) in_stock = models.BooleanField( default=True, verbose_name=_("In Stock"), ) created_at = models.DateTimeField( auto_now_add=True, verbose_name=_("Created At"), ) updated_at = models.DateTimeField( auto_now=True, verbose_name=_("Updated At"), ) class Meta: """All Django 6 Meta idioms.""" verbose_name = _("Cigar") verbose_name_plural = _("Cigars") ordering = ["brand", "name"] indexes = [ models.Index(fields=["brand", "name"], name="cigar_brand_name_idx"), models.Index(fields=["strength"], name="cigar_strength_idx"), models.Index(fields=["origin"], name="cigar_origin_idx"), ] constraints = [ models.UniqueConstraint( fields=["brand", "name", "vitola"], name="unique_cigar_identifier", ), ] def __str__(self) -> str: """Human-readable representation (official pattern).""" return f"{self.brand} {self.name}" def get_absolute_url(self) -> str: """Canonical URL (official recommendation for admin, templates, etc.).""" return reverse("cigar-detail", kwargs={"slug": self.slug})
That is good code. It’s not perfect, has some issues, but producing that in less than two minutes? I would use it, with some minor modifications:
- add explicit id field (probably UUID or UUID based)
- remove in\_stock and msrp (I’m not selling them, I’m smoking them)
- add a would\smoke\again boolean field or a happiness\_meter
- change the related or limited data to FK’s (brand, vitola) or Enums (origin) or M2Ms (binder, filler, wrapper)
These changes would probably take me about another 5 minutes to get a really well designed django model class. And if I added these requirements to the original prompt, I would get closer to what I want from the start. (I may have missed some issues with it, but it wasn’t because I trusted the output, it was because, I actually am not current with django, but I wanted to use something popular.
LLM’s produce excellent code - in small increments. LLM’s work best when you ask them to do the least, kinda like governments.
Also, if you think through this process, you’ll realize that no files were involved in the generation of that code.
There is no doubt to me, that once the absurd hype over LLM agents and their magical power to distract from the lack of progress on AGI subsides, people will eventually start to use LLMs in processes designed around their strengths and providing deterministic controls to compensate for their weaknesses.
The net net of this is, in my mins: if you can honestly say you don’t see the value provided by that 29-word, ridiculously naive and simplistic prompt and 72 seconds of inference, well, maybe I’ll see you at the swap meet.
The comparative advantage of using LLMs to generate code is real. That is undeniable. It’s just not really visible yet, if you are not actually doing it. It is extremely difficult to see the value if you are focused on:
- generic vibe-coding
- prompt == app approach
- the statistics regarding LLM generated code quality (they are process unaware)
- IPO-supporting distractions, i.e. domain focused autonomous agents
In my mind the long-term value lies in deterministic workflows of small atomic (by blast radius) changes, why wouldn’t it? That is how software gets built, it’s how software has always been built. No human being has ever sat down and built a complex software project in one sitting. We know that LLMs are architecturally unreliable, so why would we expect them to be able to do that either. LLMs do things differently than humans, but we are asking them to do the same thing: produce code.
I know how to build software, you may too. What has fundamentally changed about software itself? Putting aside the: I’ll have an fully autonomous agentic llm enabled OS and I’ll never need any structured software again, just a s2t load of md files nonsense, what do you need. The same thing you need when humans write code.
Why not define your process in a deterministic workflow and use LLMs to do the inference? In small bites, like the django model example.
This is what I believe to be the future of software development: LLMs write all of the code. They do so in small atomic changes that are stored in a structured format, not raw text, and simply projected to filesystems for human review and compilation, when necessary. The idea is nothing more than looking at where the general consensus is right now and taking a logical next step.
There’s a whole lot more to this, but this post is getting long for me, and I wanted to include the entire django model class output from grok and below, if interested, you can see the output of the same exact prompt for qwen2.5-coder:32b running on my mac book. It is pretty powerful for a laptop, but still a laptop. It took longer of course, and it is very different, but still decent code.
I include the qwen output for two reasons, to underscore the incredible cost savings that this approach can provide, use the big models for the research and brainstorming, but for the small atomic edits of code? local models are pretty capable depending on complexity of task. Take a look at it and then honestly answer these two questions:
Is qwen’s code better or worse than you would expect from a junior engineer to produce in less than 5 minutes?
Where can companies get junior engineers who will work for less than $1.05 a day? (not an accurate assessment of the cost, just the cost of freedom.)
These are uncomfortable questions to be sure, especially to someone like me who is dependent on commercial software licenses and support thereof for every cigar I smoke.
The second reason is as a quick way to introduce what I think is going to be a new split in engineering. Product management will essentially be replaced by domain engineering, I think there will be a clean and formalized split between those roles. I think of it as hexagonal in nature, Domain Engineers will contribute their expertise to a project definition, think of it like a “port” and Implementation Engineers will contribute their expertise to language specific “adapter” Products of the Project.
Here is qwen’s cigar model response:
Certainly! Below is an example of a Django model class for storing data about cigars, following best practices and idioms from Django 6. This includes using proper naming conventions, field types, relationships, and other recommended patterns.
First, ensure you have a Django app set up. If not, you can create one using:
python manage.py startapp cigars
Then, add the cigars app to your INSTALLED\_APPS in settings.py.
Now, define the model class in models.py of the cigars app:
from django.db import models class Manufacturer(models.Model): name = models.CharField(max_length=255, unique=True) country_of_origin = models.CharField(max_length=100) def __str__(self): return self.name class CigarType(models.TextChoices): HANDMADE = 'HM', 'Handmade' MACHINE_MADE = 'MM', 'Machine Made' class WrapperColor(models.TextChoices): LIGHT = 'L', 'Light' MEDIUM = 'M', 'Medium' DARK = 'D', 'Dark' BLACK = 'B', 'Black' class Cigar(models.Model): name = models.CharField(max_length=255, unique=True) manufacturer = models.ForeignKey( Manufacturer, on_delete=models.CASCADE, related_name='cigars', help_text="The manufacturer of the cigar." ) length_in_mm = models.PositiveSmallIntegerField( help_text="Length of the cigar in millimeters." ) ring_gauge = models.PositiveSmallIntegerField( help_text="Ring gauge of the cigar, which is a measure of its diameter." ) wrapper_color = models.CharField( max_length=1, choices=WrapperColor.choices, default=WrapperColor.MEDIUM ) type = models.CharField( max_length=2, choices=CigarType.choices, default=CigarType.HANDMADE ) release_year = models.PositiveIntegerField( null=True, blank=True, help_text="Year the cigar was released." ) class Meta: ordering = ['name'] verbose_name = 'Cigar' verbose_name_plural = 'Cigars' def __str__(self): return self.name
Explanation
- Manufacturer Model:
name: A unique name for the manufacturer.
country\of\origin: The country where the manufacturer is based.
- TextChoices for CigarType and WrapperColor:
- These provide a human-readable way to define choices for fields that have predefined options.
- Cigar Model:
name: A unique name for each cigar.
manufacturer: A foreign key linking to theManufacturermodel, usingon\_delete=models.CASCADEto ensure data integrity.
length\in\mm: The length of the cigar in millimeters.
ring\_gauge: The ring gauge, which measures the diameter of the cigar.
wrapper\_color: A choice field for the wrapper color, usingWrapperColor.choices.
type: A choice field for the type of cigar, usingCigarType.choices.
release\_year: An optional year when the cigar was released.
- Meta Class:
ordering: Orders cigars alphabetically by name.
verbose\nameandverbose\name\_plural: Provide human-readable names for the model in the admin interface.
- String Representation:
- The
\\str\\method returns the name of the cigar, which is useful for readability in the Django admin and other contexts.
Additional Steps
- Migrations: After defining your models, create migrations using:
python manage.py makemigrations cigars
- Apply Migrations: Apply the migrations to update the database schema:
python manage.py migrate
This setup ensures that you follow Django’s best practices and idioms for defining models.
Thanks for reading! Subscribe for free to receive new posts and support my work.