3 ms·
Rewrites are only cheap if the rewrite solves the problem. And the rewrite can only reliably solve the problem if you understand the problem, and even then it'
by mpweiher 4mo ago
Rewrites are only cheap if the rewrite solves the problem.
And the rewrite can only reliably solve the problem if you understand the problem, and even then it's obviously not a guarantee.
If you have a huge blob of code that nobody understands then re-generating a new blob of code that nobody understands is unlikely to solve the problem.
That said: I've always been a fan of optimistic rather than pessimistic merging, at least for human-generated code.
- arcanemachiner 4mo agoThank god for Strangler Fig. An incomprehensible source of truth is still a source of truth.
- mpweiher 4mo agoTrue. Alas in incomprehensible source of false is not a source of truth. ¯\_(ツ)_/¯