33 points luu 1 day ago 10 comments
sandinmyjoints 2 hours ago | parent
Language learning has notions of receptive vs. productive knowledge. Receptive knowledge lets someone read or listen and understand. Productive knowledge lets them speak or write. Learners can typically understand far more than they can produce.
Memory psychology has recognition vs. recall. Recognition means identifying the right answer when it's in front of you, as on a multiple-choice test. Recall means producing it from nothing. Recognition is consistently easier.
Some sociologists have what they call interactional vs. contributory expertise. Interactional expertise is the ability to talk fluently about a field, follow its debates, and judge work plausibly. Contributory expertise is the ability to actually do the work.
There's no question that as I use AI more, I move from the former category to the latter category when it comes to coding. The thing I'm trying to prevent with AI usage is making that same move with the whole system. But is prompting sufficient as the mechanism of production / recall / actually doing the work?
starkd 1 hour ago | parent
discreteevent 1 hour ago | parent
And then goes on to say that understanding needs to be redefined as things like "makes the users life better"
That's not understanding. You're in AI. You've won the world. Why can't you be happy with that? Stop fucking around with language in an effort to corral even more of it and so make it useless to the rest of us.
If AI is so great then you wouldn't need to redefine language to lower the bar for it.
starkd 1 hour ago | parent
popkkksidhd 41 minutes ago | parent
> Precise properties like “a SELECT never shows results from uncommitted transactions”
I never really understood a relational database until I wrote one. I still don’t, but I now understand a lot more than I did.
mjb 9 minutes ago | parent
I think this is true "in the small", but unless the code is uncommonly well structured isn't generally true as code bases get larger. For example, if you started reading the Postgres or MySQL code, it would take a great deal of reading and understanding to get to where you understood where and when this property applies.
If I just wanted to state the property crisply, using some kind of formalism could help. But in non-trivial systems code doesn't appear to be a crisp statement of many of its properties (in general, some languages and domains get closer than others).
I also learned a great deal writing a relational database (and then helping build parts of two really big ones), and a great deal from reading others code in this domain. But the code tends to be very low 'density' when seen as a mapping from implementation to customer-desirable properties.
zamalek 30 minutes ago | parent
What I've found is that, even with human-supervised AI, the codebase is drastically less organized than what a human alone would have done. For example, there's a piece of code that does a kind of budget recommendation across a few steps, and I recently reviewed changes to it - the AI was interspersing functions all over the place, which makes the code seem organized (especially to someone deeply familiar with it already). To a newcomer, the call graph is all over the place and following it was extremely taxing. I bailed and asked for a refactor into a strategy pattern and, guess what, more lines removed than added; everything drastically clearer.
AI doesn't have good taste, and doesn't care about the next thing (human or silicon) that has to touch the codebase. My point is that it's really easy, even with the best intentions, to let AI turn something into a mess that can't be understood.
zzzeek 26 minutes ago | parent
But even for vibe coded things, I still look at the overall structure and cyclomatic complexity of the thing and try to keep that under control. I ask the robot to break things into packages, to use class hieararchies instead of if/else blocks, things like that. but only sometimes, for code I expect to keep around a long time.
the bigger thought is that these things can write 200k pages that "prove" the riemann hypothesis. for the past few days I can only think of the idea of ancient builders having hundreds of workers dig into ground with shovels, vs. a modern skyscraper whose foundation is dug with giant machines. Having human strength to lift 300 pounds is impressive but not necessary. Similarly, intellectual tasks that require holding of tons of context at once, e.g. math and programming, the machines are built for this, we're not. What kind of modern skyscrapers can we build assuming all of our current software is just ancient pyramids and coliseums?