collappsar on Nostr: How retards map attributes across: A class hierarchy with method overrides and a ...
How retards map attributes across: A class hierarchy with method overrides and a method per each attribute that needs custom code and then also weird individual values.
How pros do it: A function accepting a type T that returns a type U with the desired attributes.
Published at
2024-08-06 19:01:18Event JSON
{
"id": "b19d6cda60ec3b1235c8a1c752792329cddaf5c43ed0de6c8e99ab518cd913a5",
"pubkey": "bc0ff77330c0f1b771c5a0e7443db517701042f52154911d1494c2de048d1353",
"created_at": 1722970878,
"kind": 1,
"tags": [
[
"proxy",
"https://fediverse-lite.com/objects/9c20bc68-8564-4e21-b978-9ff5535c5d61",
"activitypub"
]
],
"content": "How retards map attributes across: A class hierarchy with method overrides and a method per each attribute that needs custom code and then also weird individual values.\n\nHow pros do it: A function accepting a type T that returns a type U with the desired attributes.",
"sig": "b649b7f06a3bdd46f429880208bc6361e1cc2a16ec16e9675d56362f4970d0637f4f7641e1498b42637c147ab53a415b3a0bf9d7886c4826b68cb01888fd6139"
}