News for hackers. Stuff that matters.
Re:AI is forcing us to pay off 40 years of technical debt by dotancohen on Wednesday November 04, 2026 @10:38AM (#50367126)
It runs everything that any software I've ever written needs - and I've been doing PHP since dates began with `19`.
Re:AI is forcing us to pay off 40 years of technical debt by TedDoesntTalk on Wednesday November 04, 2026 @10:51AM (#50367348)
But since php isn’t complied, how would I know if something is broken until every code path is exercised? Genuine question
Re:AI is forcing us to pay off 40 years of technical debt by dotancohen on Wednesday November 04, 2026 @11:00AM (#50367483)
You exercise every code path with a unit or integration test.

I tend to write integration tests for the paths users take through the application (website), and fill in the holes with unit tests. I'll also write unit tests for methods that change often or are critical, such as business logic.