Why Nostr? What is Njump?
2023-07-04 08:02:17
in reply to

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


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