Why Nostr? What is Njump?
2024-04-10 14:19:14
in reply to

Alerta! Alerta! on Nostr: as ::class can be used without the class actually being available, it is not really ...

as ::class can be used without the class actually being available, it is not really coupling. (see https://3v4l.org/jorQT)

Sometimes code needs to check whether a class is available or not and this is a valid way to do so even when the class is not available. Therefore it is not more coupleded that writing out the full namespaced classname as a string.
Author Public Key
npub1fnle2yu3z2tznh890h82jsnpxz0mcpcynl0vlewm5zqelhc826qsc029kt