logoalt Hacker News

seanmcdirmidyesterday at 4:30 PM1 replyview on HN

Again, how is that different from humans? I’m not going around trying to prove my code correct when I write it manually.


Replies

tovejyesterday at 10:10 PM

I write code to solve a problem. Not code that looks like it solves the problem if a non-technical client squints at it.

And if you don't prove your code, do you not design at all then? Do you never draw state diagrams?

Every design is an informal proof of the solution. Rarely I write formal proofs. Most of the time I write down enough for myself to be convinced that the desing solves the problem.

show 2 replies