logoalt Hacker News

hresvelgr • today at 7:15 AM • 1 reply • view on HN

> Quite ironically I see formal methods being extremely key to your central argument.

Formal verification is a useful tool, but I don't think it meaningfully combats "slop," which I argue is primarily disorganised, voluminous, and lacking in aesthetics.

> That is, the design should be started by modelling with some formal language

I would make sure what I am developing demonstrably works before formally verifying the characteristics of the system.


Replies

weinzierl • today at 8:04 AM

The question is, why do we care about slop in the first place? If we ignore the ideological and emotional reasons, I think it boils down to three things:

1. The slop is incorrect

2. The slop is bloated

3. The slop is not human readable

Formal verification together with human validation is the answer to point 1. The second point needs additional measures to keep the artificial author in check which is in my experience quite easy to accomplish.

If these two are in place I found that human readability falls out mostly for free.

So, to summarize, in my opinion formal verification together with measures to keep the code minimal and concise is our best way to tackle slop.

➕ show 2 replies