Rikudou_Sage on Nostr: npub1jpp36…yu59l At this point, why not just support multiple inheritance? I find ...
npub1jpp36eeycvlkkdy4d4l4lgswvf8jtdare5vly0w0sk7rc39pzgrqlyu59l (npub1jpp…u59l) At this point, why not just support multiple inheritance? I find this dance around multiple inheritance weird and sad (in all those languages, not just php).
We already have traits which are multiple inheritance kinda-but-not-really.
And the diamond problem is clearly not a problem for traits. Not sure about default methods, didn't read the RFC in detail.
Published at
2023-07-13 21:03:03Event JSON
{
"id": "fbbc3a1d65d77df6fcb166f2f23c047f9c23ba6263f0a4603430edbead771494",
"pubkey": "1b2a9070657a0d18f7ae4f3d834dc167d22d8ad1d9f72c924c324210a0eea975",
"created_at": 1689282183,
"kind": 1,
"tags": [
[
"p",
"90431d6724c33f6b34956d7f5fa20e624f25b7a3cd19f23dcf85bc3c44a11206",
"wss://relay.mostr.pub"
],
[
"p",
"e653eb60b2db5edf906d354c2825bf00a80dfab1b1766cd97805155e8fcc0db3",
"wss://relay.mostr.pub"
],
[
"e",
"37e6b703bff1a61c6468d7b3fe022a6ba78938e30a2e849396bfb2205cf45407",
"wss://relay.mostr.pub",
"reply"
],
[
"mostr",
"https://phpc.social/users/chrastecky/statuses/110708797206637671"
]
],
"content": "nostr:npub1jpp36eeycvlkkdy4d4l4lgswvf8jtdare5vly0w0sk7rc39pzgrqlyu59l At this point, why not just support multiple inheritance? I find this dance around multiple inheritance weird and sad (in all those languages, not just php).\n\nWe already have traits which are multiple inheritance kinda-but-not-really.\n\nAnd the diamond problem is clearly not a problem for traits. Not sure about default methods, didn't read the RFC in detail.",
"sig": "17eb9156ed5cfa153a2ef9901eed3864935ea999a947a8815ed35fdd0615d1cec0d6c461d1bdc5893b9916fc59472ec8649600096b977b1b67f9a865b64827bc"
}