logoalt Hacker News

random3 • yesterday at 5:36 PM • 1 reply • view on HN

As a computer scientist with 20 years experience in software and last 3 shifting on math, I think I agree with how you describe the approach in SWE. I collected a ton of notes on the same process myself.

I'd sum it up as starting to code before/without trying to get a proper* understanding of the end-to-end problem, and then incrementally adjusting along the way. This often solves a chicken and egg problem, of not being able to advance understanding before building. The problem is not rewriting or fully refactoring the code once your understanding persist. Often this is too late (aka "shipping the prototype"). Then everything expands into more complexity over more or less** time.

I think this whole process can actually be described formally. I'm not sure how much it matters anymore, but I suspect agent generated code suffers from the same issue, just with different measures due to speed/memory advantages agents have.

----

* I say "proper" assuming "full" is likely unachievable in most settings

** the difference between many software projects can be reduced to how fast they become dead ends based on how fast complexity explodes.


Replies

bigbadfeline • today at 2:37 AM

> As a computer scientist with 20 years experience in software and last 3 shifting on math,

That's good but it doesn't prove your point, or any point for that matter.

> I'd sum it up as starting to code before/without trying to get a proper* understanding... [chicken, egg, omelet] ... > I think this whole process can actually be described formally.

I'm not sure why anyone in his right mind would want to describe formally this entire process. Formal verification proves the correctness of the code produced by this process, not the process itself - and correctness is always provable, if in fact the code is correct.