Larry Garfield on Nostr: Using #PHP arrays as pseudo-objects is almost never the right answer. They're less ...
Published at
2024-10-23 06:44:01Event JSON
{
"id": "35170b97af3b41a68d6247b74ff88b20de2b789869bf10b4505f416696ca8ea7",
"pubkey": "e8201addc43dd2260f2fa3afd98a4568bd3ef7256f7173f7d444f6770340d26a",
"created_at": 1729665841,
"kind": 1,
"tags": [
[
"t",
"php"
],
[
"proxy",
"https://phpc.social/users/Crell/statuses/113355380612999848",
"activitypub"
]
],
"content": "Using #PHP arrays as pseudo-objects is almost never the right answer. They're less self-documenting, slower, worse on memory, and more bug prone.\n\nhttps://peakd.com/php/@crell/php-use-associative-arrays-basically-never",
"sig": "b1f76ba75c2a2437e1d7b02d9d1359dc28beb8f6fc5709c9e57dba741b1a26c3710df6648c04f8b58f09ec9d776a37213f97b27cfb0ca694eb0e22a3af27de36"
}