logoalt Hacker News

asdffyesterday at 10:59 PM1 replyview on HN

I think you misunderstand. Once established a function found through random walk is no different than a function found in any other way. If it works it works, if it doesn't it doesn't.


Replies

dns_snektoday at 7:44 AM

I didn't misunderstand. I'm talking about all the exciting unintended behaviors you're adding and all the invariants that you're not preserving by arriving at solutions through randomness rather than careful design and engineering.

Yes a function will always do "the exact same thing" at runtime, but that "thing" isn't guaranteed to be free from race conditions and other types of bugs.