Most active commenters
  • api(3)

←back to thread

-2000 Lines of code

(www.folklore.org)
499 points xeonmc | 14 comments | | HN request time: 0.001s | source | bottom
Show context
daitangio ◴[] No.44381563[source]
Software metric are hard, indeed :) Be prepared in a ai-code world when more code does not mean better code.
replies(2): >>44381664 #>>44381673 #
bunderbunder ◴[] No.44381664[source]
I've been watching my colleagues' adoption of Copilot with interest. From what I can tell, the people who are the most convinced that it improves their productivity have an understanding of developer productivity that is very much in line with that of the managers in this story.

Recently I refactored about 8,000 lines of vibe-coded bloat down into about 40 lines that ran ten times as fast, required 1/20 as much memory, and eliminated both the defect I was tasked with resolving and several others that I found along the way. (Tangentially, LLM-generated unit tests never cease to amaze me.) The PHBs didn't particularly appreciate my efforts, either. We've got a very expensive Copilot Enterprise license to continue justifying.

replies(6): >>44381723 #>>44381759 #>>44381879 #>>44382024 #>>44382066 #>>44382304 #
1. api ◴[] No.44381723[source]
I see a stratified software market in the future.

There will be vibe and amateur banged out hustle trash, which will be the cheap plastic cutlery of the software world.

There will be lovingly hand crafted by experts code (possibly using some AI but in the hands of someone who knows their shit) that will be like the fine stuff and will cost many times more.

A lot of stuff will get prototyped as crap and then if it gets traction reimplemented with quality.

replies(5): >>44381777 #>>44381779 #>>44381787 #>>44381860 #>>44382210 #
2. librasteve ◴[] No.44381777[source]
yeah this is it ...
3. doesnt_know ◴[] No.44381779[source]
This was said about large frameworks like electron on the desktop, but outside of some specific technical niches it literally doesn’t matter to end users.
replies(1): >>44381987 #
4. Miraste ◴[] No.44381787[source]
Where's the part where it's different from the existing market?
replies(1): >>44382872 #
5. bitwize ◴[] No.44381860[source]
Back in the day, if you went to a website you could always tell who wrote their HTML by hand and who used a tool like GruntPage, Dreamweaver, etc. even without looking at the META tags. The by-hand stuff was like a polished jewel that had only as much layout, styling, and markup as needed to get the desired effect. The proprietary web editor stuff was encrusted with extraneous tags and vendor-specific extensions (like mso: attributes and styles in GruntPage).

Then as now, if you let the machine do the thinking for you, the result was a steaming mess. Up to you if that was accessible (and for many, it was).

replies(1): >>44381921 #
6. wffurr ◴[] No.44381921[source]
You can make the same claim about compiled code vs hand written assembly, and yet the vast majority of software is compiled or interpreted.
replies(2): >>44381981 #>>44381994 #
7. DowsingSpoon ◴[] No.44381981{3}[source]
In the past, hand-crafted assembly code was common because it was easy to beat the compiler. This is still true today in some niches.
8. kbelder ◴[] No.44381987[source]
It does matter and they do care; they just don't have the specific technical knowledge to pinpoint why their computer sucks now.
replies(1): >>44384909 #
9. dgfitz ◴[] No.44381994{3}[source]
A compiler is written by very smart humans to a spec written by humans, also probably smart but I don’t know enough to claim that bit.

An LLM is just displaying the next statistical token.

Completely different.

replies(1): >>44382038 #
10. bitwize ◴[] No.44382038{4}[source]
Or, as I like to put it, pulling out the next refrigerator poetry tile from a stochastic bag of holding.
11. robocat ◴[] No.44382210[source]
A beautiful vision.

If the vision were true, we should see it happen with normal goods too. Quality physical goods do not beat the shit goods in the market : crap furniture is the canonical example (with blog articles discussing the issue).

Software (and movies) is free for subsequent copies, so at first sight you might think software is completely different from physical goods.

However for most factory produced goods, designing and building the factory is the major cost. The marginal cost of producing each copy of an item might be reasonably low (highly dependent on raw materials and labor costs?).

Many expensive physical goods are dominated by the initial design costs, so an expensive Maserati might be complete shit (bought for image status or Veblen reasons, not because it is high quality). There's a reason why the best products are often midrange. The per unit 2..n reproduction cost of cheap physical goods is always low almost by definition.

Some parts of iPhone software are high quality (e.g. the security is astounding). Some parts are bad. Apple monetisation adds non-optional features that have negative value to me: however those features have positive value to Apple.

replies(1): >>44386142 #
12. api ◴[] No.44382872[source]
What I meant was that the contrast will become much more extreme, like the difference between fine silverware and bulk plastic cutlery from Wal-Mart.

Pre-vibe-coding it was more like the difference between fine silverware and cheap stamped metal stuff.

13. whatevertrevor ◴[] No.44384909{3}[source]
And why it takes months to years to fix basic bugs that have been acknowledged by the developer.
14. api ◴[] No.44386142[source]
What happens is the price difference gets huge. Quality furniture does beat shit at the high end of the market, but a real quality bed or sofa costs over a thousand dollars and up from there. The price difference between shit and quality starts at 5-10X.

Tangent but -- one furniture hack I've found is that if you don't want to pay a lot go for the simplest design you can find made of basic wood or metal. It'll be... a wood or metal kit that assembles into the basic form of what is needed. Wood is often unfinished or minimally finished. That stuff is pretty durable. Things that look "fancy" but are cheap tend to be utter trash, made of the worst materials with poor tolerances. A more elaborate or artistic design plus quality equals expensive.

When I say minimal I mean minimal. A cheap quality bed frame is a rack the mattress sits on. A cheap quality dresser is basically bins on tracks.

Ironically places like Amazon is where you find this cheap quality minimal stuff. Furniture stores are complete trash unless they are artisan, often local, like I live in Ohio and there are artisan Amish furniture sellers that sell good (but $$$) stuff that is literally hand made. But find one that is actually sourcing or even tied to an Amish community. You don't have to look into the store, just the stuff inside. It will be solid and build via obvious craft joinery, etc., and will weigh a ton. (and you're supporting a local community)

So I wonder if software will start to look like that. Pay a lot (like enterprise prices) for highly regarded pro software or find something minimal "hand made" by a 1-5 person shop. The world of quality native Mac apps comes to mind for the latter.