What is Nostr?
Dek 👨‍🚀🐧🚀 ( /
npub1nk9…rhg4
2023-07-04 08:02:17
in reply to nevent1q…cd8d

Dek 👨‍🚀🐧🚀 ( on Nostr: npub1vgs5r…suja8 I use inheritance (in other languages) only to do lists of mixed ...

npub1vgs5rx9km8njvq8e5fs7a2c2yzzmvuwfjpqwgxxlyqf6kmfeds0q7suja8 (npub1vgs…uja8)
I use inheritance (in other languages) only to do lists of mixed types or I'm creating an API for someone else to extend.
Code deduplication, not so much. I guess is more about struct deduplication than code. Like if you have a struct with a variable, with a special deconstructor for it. But the same can be achieved with encapsulation.
Author Public Key
npub1nk9j8vffu3ju8eyh9035a6spwj5nfvvddyt7pfvnjkl98rl6htlqtprhg4