Top
Best
New

Posted by mooreds 2 days ago

The rise of async AI programming(www.braintrust.dev)
121 points | 109 commentspage 2
bpt3 2 days ago|
It takes my longer to thoroughly review code I didn't write, especially code written by a junior developer.

Why would I choose to slow myself down in the short term and allow my skills to atrophy in the long term (which will also slow me down)?

webstrand 2 days ago|
I actually enjoy writing code... most of the time. I find myself turning to AI to write code I have an aversion to writing, not as a substitute for my own practice, but to get code that I would not have written in the first place. Like benchmarks, bash scripts, dashboards, unit tests, etc.

I can live without these things, but they're nice to have without expending the effort to figure out all the boilerplate necessary for solving very simple problems at their core. Sometimes AI can't get all the way to a solution, but usually it sets up enough of the boilerplate that only the fun part remains, and that's easy enough to do.

bpt3 2 days ago||
That sounds reasonable and similar to how I use it.

Managing a team of interns isn't fun, and I have no idea why someone who is a competent developer would choose to do that to themselves.

sarchertech 2 days ago||
I don’t know anything about the competency of the AI boosters online.

But among people I’ve worked with whose capabilities I can judge, the competent programmers are not building things like this. Among my own sample size there is a near perfect negative correlation between AI use and competency.

hackingonempty 2 days ago||
Sounds great in principle but I have been trained to value individuals and interactions over processes and tools and working software over comprehensive documentation.
Graphon1 2 days ago||
I don't know why we need a term like "Async AI programming." this is literally what you would do if you were a Tech Lead directing a team of other developers. You define what you want and hand it to one of your devs.

This is just being a TL. the agent is an assistant or a member of the team. I don't know why we need to call it "Async AI programming", unless we want to shy away from or obscure the idea that the agent is actually performing the job a human used to perform.

lolive 2 days ago||
I am teaching asynchronous programming in typescript to junior developpers. And i find really tricky to tell them that async and await do MAJOR magic behind their back to make their code readable as synchronous code.

And then, I need to detail very precisely what "Promise.all()" (and "return") really mean in the context of async/await. Which is something that (I feel) could have been abstracted away during the async/await syntax definition, and make the full magic much more natural.

swid 2 days ago||
Async/await themselves are not that much magic really, it's a bit of syntactic sugar over promise chains. Of course, understanding promises is its own bag.

ChatGPT explanation: https://chatgpt.com/share/68c30421-be3c-8011-8431-8f3385a654...

lolive 2 days ago|||
During my interviews, may be I should ask them to read and understand this:

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

prior to any dev they plan to do in JS/TS.

PS: 10 bucks that none of them would stay.

lolive 2 days ago|||
That reminds me of my Unix guru of the 90s: "man pages ARE easy to read".

[spoil: "when you are already an expert of the tool detailled in it"]

uncletaco 2 days ago|||
Man are you going to be disappointed when you read the article.
lolive 2 days ago||
Man, for the first time in HN, I am teased to actually read the article.

Update: oh my god, I read the article. And feel completely cheated!!!!

Note for my future self: continue to read only the HN comments

lolive 2 days ago||
To elaborate a bit, telling them that you should not "aList.foreach(asyncMethod)", but you'd better do "Promise.all(aList.map(asyncMethod))" is NOT very easy for them.
zeroonetwothree 2 days ago||
The article felt too rosy as I read it and then it got to the part where it’s just an ad for the author’s company.
antimoan 2 days ago||
I think there is a confusion here between Coding and Programming. I think what is described here as "Async Programming" is just programming the way it should be which is different than coding. This is what Leslie Lamport pointed out a while back [1] and recently [2]. According to him programming has 3 stages:

  1- Define what task the program should perform
  2- Define how the program should do it
  3- Writing the code that does it.
Most SWEs usually skip to step 3 instead of going through 1 and 2 without giving it much thought, and implement their code iteratively. I think Step 3 also includes testing, review, etc.

With AI developers are forced to think about the functionality and the specs of their code to pass it to AI to do the job and can no longer just jump to step 3. For delegating to other devs, the same process is required, senior engineers usually create design docs and pass it to junior engineers.

IMO automated verification and code reviews are already part of many developers workflows, so it's nothing new.

I get the point of the article though, that there are new requirements for programming and things are different in terms of how folks approach programming. So I do not agree that the method is new or should be called "async", it's the same method with brand new tools.

  [1] https://www.youtube.com/watch?v=-4Yp3j_jk8Q
  [2] https://www.youtube.com/watch?v=uyLy7Fu4FB4
snozolli 2 days ago||
Effective async programming specs read like technical documentation

The thing I like least about software engineering will now become the primary task. It's a sad future for me, but maybe a great one for some different personality type.

keybored 2 days ago||
Oh, async?

> This version of "async programming" is different from the classic definition. It's about how developers approach building software.

Oh async=you wait until it is done. How interesting.

nasmorn 1 day ago||
Where are the agents running? Locally all at once or hosted somewhere
anyg 2 days ago|
Off topic, but I assume the name braintrust comes from Creativity, Inc. Amazing book by Pixar co-founder Edwin Catmull.
More comments...