Comment by esailija
4 days ago
In frontend it's coupling everything to specific backend urls and it's literally billion times worse. People fire up a frigging headless browser and set up backend servers to test a few microseconds of logic. You don't get to test much at all before everything takes too long and becomes too flaky.
At best solid haters/unaware will "solve" this by mocking everything, which just has a different set of problems and is just as bad. The only way to truly have actual satisfying solution is DI.
No comments yet
Contribute on Hacker News ↗