Skoop (Stefan Koopmanschap) on Nostr: it really depends (yeah, I know 🙄) on the situation. I'd prefer using interfaces ...
it really depends (yeah, I know 🙄) on the situation. I'd prefer using interfaces if possible, but if you really must reference the implementation, then I'd find this acceptable (better than using strings of class names)
Published at
2024-04-10 14:06:05Event JSON
{
"id": "3352119bfde7546a4b698dde5d23d530b857447b3e749fe7643fa38f424696bc",
"pubkey": "21e10fd7aad569b119196ddbc39adc1537f130256acab7381070e48e0114f206",
"created_at": 1712757965,
"kind": 1,
"tags": [
[
"e",
"cdbb45c64c735142fa63e4de2bc4d1f5125e74433d8860666a8d42c5b48d3d25",
"",
"root"
],
[
"p",
"1021c34f5340dbb740c0814437248fd3859b28145884ed2eeca94f93af3f88f7"
],
[
"proxy",
"https://phpc.social/users/Skoop/statuses/112247305996377697",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://phpc.social/users/Skoop/statuses/112247305996377697",
"pink.momostr"
]
],
"content": "it really depends (yeah, I know 🙄) on the situation. I'd prefer using interfaces if possible, but if you really must reference the implementation, then I'd find this acceptable (better than using strings of class names)",
"sig": "7f8505715c89003af5dc0c285a20b5cdf004e3e607c3fe8b4d45cfccca9b6e01ba658395ab4ea9a8e557d8985450f56cd882b4db913f55000dec5ee6ae3b5b37"
}