Comment

Comment by TooBrokeToBeg

I always hated the DI fervor in PHP, like it solves all problems. You get such gems from phptherightway as

> We can demonstrate the concept with a simple, yet naive example.

> Here we have a Database class that requires an adapter to speak to the database.

It tries so hard to be java, which seems backward.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton