logoalt Hacker News

ashu1461today at 1:33 AM2 repliesview on HN

This can work for core algorithms for sure, but wondering if this will work for production use cases, production apps come with a lot of edge cases - which are more often than not not logical as well to the point it becomes very hard to document them all in the first place.


Replies

munchlertoday at 3:10 AM

The flip side is that we currently put programs into production without understanding how they will behave in those edge cases. If you're lucky, they crash and then restart cleanly. If you're unlucky, they silently corrupt data or violate mission-critical invariants.

ralusektoday at 2:39 AM

I have had production edge cases anticipated by AI before that I hadn't accounted for.