social.coop is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Fediverse instance for people interested in cooperative and collective projects. If you are interested in joining our community, please apply at https://join.social.coop/registration-form.html.

Administered by:

Server stats:

488
active users

#oop

4 posts4 participants0 posts today

See how to iterate a composite dataset without exposing its internal logic. Its a combination of the composite and Iterator design patterns while implementing an office furniture system. It uses workstation as a composition of office chair, desk and cabinet.

Read More...👇
muwangaxyz.medium.com/composit

Medium · Composite and Iterator Design Pattern Combination in TypeScriptBy Mohammed Muwanga

one of my favorite quotes about #OOP is that a class hierarchy isn't made to unleash your inner Linnaeus ;) - but this most certainly is: jillianhess.substack.com/p/car - cute lil video about Linnaeus' note taking system. (As a german political scientist I'm course Luhmann's Zettelkasten inspired 😂) Cool bits of information design however - If you love Tufte's book, you'll love this :))

Noted · Carl Linnaeus's Note-Taking InnovationsBy Jillian Hess

If you really must have plain #Perl #OOP methods with the same name that differ because of their argument signatures (also somewhat analogous to C++ function overloading), you can use Class::MultiMethods: metacpan.org/pod/Class::Multim

More from @manwar (including native #RakuLang multimethods) here: gist.github.com/manwar/db11c8e

#programming #coding #SoftwareDevelopment fosstodon.org/@manwar/11407695

MetaCPANClass::MultimethodsSupport multimethods and function overloading in Perl