Curtis "Ovid" Poe on Nostr: Some discussion about problems with the :writer attribute for the new #OOP syntax ...
Some discussion about problems with the :writer attribute for the new #OOP syntax being added to the #Perl language.
Thanks to Chris (so far) (npub1yka…a0nl) for making my life harder 😜
TL;DR: mutable objects are (usually) bad and encapsulation is more complicated than many think.
#Software #OpenSource
https://curtispoe.org/articles/programming-mutable-objects.html
Thanks to Chris (so far) (npub1yka…a0nl) for making my life harder 😜
TL;DR: mutable objects are (usually) bad and encapsulation is more complicated than many think.
#Software #OpenSource
https://curtispoe.org/articles/programming-mutable-objects.html