logoalt Hacker News

gavinray • today at 2:10 PM • 1 reply • view on HN

If you enjoy this style of programming, I wrote a bit on why contracts and capabilities (ie "allocates memory", "performs i/o") are going to become essential for LLM generated code:

https://gavinray97.github.io/blog/design-by-contract-and-eff...


Replies

rzmmm • today at 3:10 PM

An alternative is to write data abstractions (encapsulation, abstract data types, etc. LLM really avoid those).