4 ms·
I reject that comparison. This is not rewriting a core product with tens of millions of lines of code. This is a small utility program. It's very often no pr
by Dylan16807 9y ago
I reject that comparison. This is not rewriting a core product with tens of millions of lines of code. This is a small utility program. It's very often no problem to just make a new utility program. Especially one that's in the single digits on how many coder-months it costs.
- eradicatethots 9y agoThere are no rules in soft dev
- Osmium 9y agoYeah, I can see how a rewrite makes sense. It's not rewriting diskutil itself, it's adding a new UI, that presumably uses newer APIs that will be easier to maintain in the future. The problem really is that the new Disk Utility is a minimal viable product, rather than an app that can actually do everything the diskutil command line utility can do. And then you have terrible bugs like this, which is presumably a non-security engineer writing a bit of UI code that they shouldn't be. I doubt this bug actually came from the APFS encryption itself.
- DonHopkins 9y agoYeah, I think the problem is that they rewrote everything but the disk utility.
- j45 9y agoI don't know if a rewrite is about whether it's large or small, it's about the years of hardening many scenarios.
- Dylan16807 9y agoA simple utility doesn't need that much hardening against corner cases, and in this instance the bug is a main use case.