Live data from Hacker News

Software design is now cheap

dottedmag.net

51–60 of 80 posts

Re: Software design is now cheap

#51

Earlier quoted context omitted.

Why would you not?

Libraries are more well tested. Unless you "regurgitate code in a library" as "not importing any libraries".

What value is there in tested code when you have the option of superlative, flawless code?

Re: Software design is now cheap

#52
post #2

> Less dependency management, less glue, less accidental complexity from adapting your problem to someone else’s abstraction. Less maintenance and flexibility. You're not really "designing software" until you have a 20+ year old product. Vibe coders really embody the "temporarily embarrassed billionaire" mindset so perfectly.

We are maintaining and extending a bunch (15 around) large ERP/data type projects which are over 20 years old with vibe coding. We have a very strict system to keep the LLMs in bounds, keeping to standard etc and we are feeling we are close to not having to read the code; we have over 2 months of not having to touch anything after review. I designed most of those projects 20-30 years ago; all have the same design principles which are well documented (by me) so the LLM just knows what to find where and what to do with it. These are large 'living' projects (many updates over decades).

Re: Software design is now cheap

#53

This is a great take. It applies the SaaS is dead theory at a lower level (libraries are dead) but has it a much more nuanced view. Yeh even if LLMs are 10x better than today you probably still don't want to implement cryptography from scratch, but use a library. I also like the 3d printing analogy. We will see how good LLMs get, but I will say that a lot of AI coded tools today have the same feeling as 3d printed ha…

The time might come when the ai just writes things like http request parsers and crypto libraries on the fly. And it will be somewhat normal

Which is the reverse of how humans design things, layers, modules. LLMs act as generalized compilers. Impressive but at the same time you end up with a static-like bunch of files instead of a system of parts (that said I'm not a great user of llms so maybe people managed to produce proto-frameworks with them, or maybe that will be the next phase.. module-oriented llm training).

Re: Software design is now cheap

#54

Earlier quoted context omitted.

But why? Even if you could have an AI do that it’s, if anything, a waste of cpu cycles. If you have a battle tested library that works and has been tested for trillions of request cycles why would you even want to write a new one that needs testing and maintenance? No matter how cheap code gen gets it doesn’t make sense. For something like a UI library, sure build something specific to your needs.

Libraries are really built for human beings, not super intelligent machines. ORMs are built because I don’t like to and can’t write complex sql with every edge case. Same with a lot of software, software libraries are designed to work with the deficiencies of the human mind. There’s no reason to think ai needs these libraries in the same way

I agree with part of this (see my comment above). That said our limitations were also how we produced mathematics. Categorizing world into fixed concepts is valuable i'd say.

Re: Software design is now cheap

#55

Earlier quoted context omitted.

This seems like today's version of "I could write Facebook in a weekend." What are the incentives for doing that? What are the incentives for everyone else to move? So if proven things exist for basics, what's the incentive to not use them? If everyone decides they're too heavy, they could make and publish new libraries and tools would pick those up. And since they're old, the feature-set is probably more nuanced tha…

Importing a library for everything will become a dated concept. Similar to the idea that object relational mappers might go away if the ai can just write ultra complicated hyper efficient sql for every query

So that's what 10x means - 10 times the code because your app has no dependencies

Re: Software design is now cheap

#56

Gotta love a world in which a tool which has ingested "all the world's libraries" is now trotted out as a solution to replace those libraries. You know what would happen if all the people who handwrote and maintained those libraries revoked their code from the training datasets and forbid their use by the models? :clown face emoji: This LLM-maxxing is always a myopic one-way argument. The LLMs steal logic from the hu…

LLMs write superior code. Maybe they learned from humans, but they have seen further while standing on those shoulders.

> LLMs write superior code.

How would they know what superior code is? They're trained on all code. My expectation and experience has been that they write median code in the best-case scenario (small greenfields projects, deeply specified, etc).

Re: Software design is now cheap

#57
post #44

Earlier quoted context omitted.

>LLMs are really quite bad at designing anything interesting Let’s be honest, how many devs are actually creating something interesting/unique at their work? Most of the time, our job is just picking the right combination of well-known patterns to make the best possible trade-offs while fulfilling the requirements.

Unless you work for a consulting firm, you should be working on something new/unique. It’s a winner-takes-all market. There are no buyers for off brand Salesforce or Uber.

There are not? So Lyft and bolt do not exists?

Same with Salesforce, there are a few hundred alternatives

Re: Software design is now cheap

#58

Earlier quoted context omitted.

But why? Even if you could have an AI do that it’s, if anything, a waste of cpu cycles. If you have a battle tested library that works and has been tested for trillions of request cycles why would you even want to write a new one that needs testing and maintenance? No matter how cheap code gen gets it doesn’t make sense. For something like a UI library, sure build something specific to your needs.

Libraries are really built for human beings, not super intelligent machines. ORMs are built because I don’t like to and can’t write complex sql with every edge case. Same with a lot of software, software libraries are designed to work with the deficiencies of the human mind. There’s no reason to think ai needs these libraries in the same way

Even in your scenario LLMs could write super optimized libraries (not intended by for humans) to do common tasks and share the code between them.

I’m not saying the future can’t get to an ai just producing everything. I’m saying it’s just plain inefficient to keep solving the same problem over and over.

Re: Software design is now cheap

#59

Earlier quoted context omitted.

Wh … why would we want that?

It’ll just spit the code out. I vibe coded some with cookie handling the other day that worked. Should I have done it? Nope. But the ai did it and I allowed it The concept of using a library for everything will become outdated

The value of a library is not just that it does a thing you want, but that it doesn’t do all the things you’d prefer it didn’t.

It’s easy to write a cookie parser for a simple case; clearly your robot was able to hand you one for millidollars. How confident are you that you’ve exhaustively specified the exact subset of situations your code is going to encounter, so the missing functionality doesn’t matter? How confident are you that its implementation doesn’t blow up under duress? How many tokens do you want to commit to confirming that (reasoning, test, pick your poison)?

Re: Software design is now cheap

#60

Earlier quoted context omitted.

It’ll just spit the code out. I vibe coded some with cookie handling the other day that worked. Should I have done it? Nope. But the ai did it and I allowed it The concept of using a library for everything will become outdated

The value of a library is not just that it does a thing you want, but that it doesn’t do all the things you’d prefer it didn’t. It’s easy to write a cookie parser for a simple case; clearly your robot was able to hand you one for millidollars. How confident are you that you’ve exhaustively specified the exact subset of situations your code is going to encounter, so the missing functionality doesn’t matter? How confid…

My true opinion is that your questions posed here, may become irrelevant in the face of super intelligence
Post reply on HN