Remix.run Logo
▲ skydhash an hour ago

> For example, for years desktop apps were built on top of slow and heavy cross-platform frameworks like Electron, because writing them natively was too burdensome

It was not. Just by using QT you were on the fast track to support multiple platforms. And by 2010, most companies were only interested in Windows and MacOS. But today, it’s just laziness. Devs that only know web tech wants to use web tech everywhere, even when it does not fit the job. Hammer and nail style.

> In the past, test suites were mostly a way to catch regressions. In future, they will be essential to provide a verified baseline of correct behaviour?

And who will code these tests? To design good tests, you have to know the product quite well, and to know the product, you have to build it at least once. Because specs are full of knowns unknowns and unknowns unknowns. That’s why the best spec is the code itself.

Even when you know the requirements, you still have to design the test harness, and that depends on the products too. With the same caveat on knowledge.