Live data from Hacker News

Literate Development: AI-Enhanced Software Engineering

substack.com

1–10 of 24 posts

Re: Literate Development: AI-Enhanced Software Engineering

#2
This article describes a method for LLM-assisted coding process but don’t provide anything of substance to back it up. It’s unclear whether the suggestions and techniques mentioned in the article came from personal experience or have otherwise been verified or experimented with with a real team and a real project.

Re: Literate Development: AI-Enhanced Software Engineering

#3
This is the most insightful article on the intersection of LLMs and software development I have read to date. There is zero fluff here -- every point is key, every observation relevant. In a time of paradigm shift, this is a fantastic guide on how to stay in the driver's seat, and most effectively leverage these tools. The inevitable shift here is upwards, away from the gritty detail of code.

Documentation (as in "design doc", not "API reference") is the absolute initial entry point: iterating on the problem statement, stakeholder requirements, business constraints, etc, until a coherent plan emerges, then organizing it at a high level. Combining this with "deep research" mode can yield fantastic results, as it draws on existing solutions and best practices across a vast body of knowledge.

The trick then is a sliding scope context window: with a high-level design doc in context, iterate to produce an architecture document. Once that is reviewed and hand-tuned, you can use it in turn to produce more detailed technical designs for various components of the system. And so on and so forth down the scale of granularity, until you're working with code. The important part is to never try and hold the entire thing in scope, instead, balance the context and granularity so that there's enough information to guide the LLM, and enough space to grow the next tier of the solution. Work in a manner that creates natural interfaces where artifacts can be decoupled. Piecemeal, not all at once.

The test aspect is also incredibly relevant: as you're able to work across a vastly larger codebase, moving much more quickly, tests become truly invaluable. And they can be squared against the original design documentation, to gauge how well the produced artifacts fulfill the original intent.

I'll acknowledge that this is most relevant in context of greenfield projects; but, LLMs' ability to ingest and summarize code makes them useful tools in dealing with legacy solutions. The point about documentation stands; adding features or fixing issues in existing codebases is the bottom of the pyramid; with these tools now you can stir things at the PM level, and better shape both the understanding of problems, and the approaches to solving them.

It's a very exciting time, it feels like having worked by hand for decades, only to now have access to power tools and heavy machinery.

Re: Literate Development: AI-Enhanced Software Engineering

#4
post #2

This article describes a method for LLM-assisted coding process but don’t provide anything of substance to back it up. It’s unclear whether the suggestions and techniques mentioned in the article came from personal experience or have otherwise been verified or experimented with with a real team and a real project.

> It’s unclear whether the suggestions and techniques mentioned in the article came from personal experience or have otherwise been verified or experimented with with a real team and a real project.

Since it's not a New Yorker article, I was hoping to spare the audience a long personal life story and deliver a somewhat succinct list of suggestions that others might find useful.

However, the question is valid, and yes, this is the result of personal experience of following and incorporating AI tools into my own development over the last couple of years, as well as watching my colleagues of various experience levels (in a team of 10 engineers) do the same. These are the practices that we collected, adopted, and trying to codify and develop further.

Re: Literate Development: AI-Enhanced Software Engineering

#5
post #4
post #2

This article describes a method for LLM-assisted coding process but don’t provide anything of substance to back it up. It’s unclear whether the suggestions and techniques mentioned in the article came from personal experience or have otherwise been verified or experimented with with a real team and a real project.

> It’s unclear whether the suggestions and techniques mentioned in the article came from personal experience or have otherwise been verified or experimented with with a real team and a real project. Since it's not a New Yorker article, I was hoping to spare the audience a long personal life story and deliver a somewhat succinct list of suggestions that others might find useful. However, the question is valid, and yes…

> Since it's not a New Yorker article, I was hoping to spare the audience a long personal life story

The New Yorker out here catching strays. Spare us, "maga," your excuses and weird insults! You didn't need to share your whole life story to include some useful context.

Did you, "maga"?

Re: Literate Development: AI-Enhanced Software Engineering

#6
post #5
post #4

Earlier quoted context omitted.

> It’s unclear whether the suggestions and techniques mentioned in the article came from personal experience or have otherwise been verified or experimented with with a real team and a real project. Since it's not a New Yorker article, I was hoping to spare the audience a long personal life story and deliver a somewhat succinct list of suggestions that others might find useful. However, the question is valid, and yes…

> Since it's not a New Yorker article, I was hoping to spare the audience a long personal life story The New Yorker out here catching strays. Spare us, "maga," your excuses and weird insults! You didn't need to share your whole life story to include some useful context. Did you, "maga"?

Apologies, no offence to New Yorkers (or the New Yorker) meant.

If you find my handle, "maga", interesting..., I'll have you know that it's been around long before it was appropriated by some movements in US and has nothing to do with them ;)

Re: Literate Development: AI-Enhanced Software Engineering

#7

This is the most insightful article on the intersection of LLMs and software development I have read to date. There is zero fluff here -- every point is key, every observation relevant. In a time of paradigm shift, this is a fantastic guide on how to stay in the driver's seat, and most effectively leverage these tools. The inevitable shift here is upwards, away from the gritty detail of code. Documentation (as in "de…

Thank you!

> The trick then is a sliding scope context window: with a high-level design doc in context, iterate to produce an architecture document.

Absolutely, I will be stealing this!

> It's a very exciting time, it feels like having worked by hand for decades, only to now have access to power tools and heavy machinery.

Very well put, captures my feeling precisely.

Re: Literate Development: AI-Enhanced Software Engineering

#8
post #7

This is the most insightful article on the intersection of LLMs and software development I have read to date. There is zero fluff here -- every point is key, every observation relevant. In a time of paradigm shift, this is a fantastic guide on how to stay in the driver's seat, and most effectively leverage these tools. The inevitable shift here is upwards, away from the gritty detail of code. Documentation (as in "de…

Thank you! > The trick then is a sliding scope context window: with a high-level design doc in context, iterate to produce an architecture document. Absolutely, I will be stealing this! > It's a very exciting time, it feels like having worked by hand for decades, only to now have access to power tools and heavy machinery. Very well put, captures my feeling precisely.

I frequently face this issue.

Re: Literate Development: AI-Enhanced Software Engineering

#9
post #2

This article describes a method for LLM-assisted coding process but don’t provide anything of substance to back it up. It’s unclear whether the suggestions and techniques mentioned in the article came from personal experience or have otherwise been verified or experimented with with a real team and a real project.

Just try it then.

I upvoted it because it aligns with my own findings working on real projects. Especially the bits about needing to “ground” the LLM in appropriate context, and being mindful of the sliding context window.

Re: Literate Development: AI-Enhanced Software Engineering

#10
post #9
post #2

This article describes a method for LLM-assisted coding process but don’t provide anything of substance to back it up. It’s unclear whether the suggestions and techniques mentioned in the article came from personal experience or have otherwise been verified or experimented with with a real team and a real project.

Just try it then. I upvoted it because it aligns with my own findings working on real projects. Especially the bits about needing to “ground” the LLM in appropriate context, and being mindful of the sliding context window.

"Just try it then" is an irresponsible suggestion.

Of course, I can try it. But trying it does not prove anything. It must be tested. Testing is a much higher standard than "trying" and a lot harder to do.

Post reply on HN