c.im is one of the many independent Mastodon servers you can use to participate in the fediverse.
C.IM is a general, mainly English-speaking Mastodon instance.

Server stats:

2.9K
active users

#oop

3 posts3 participants1 post 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

Composite and Iterator Design Pattern Combination in TypeScript — Mohammed Muwanga — Web Development
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

I have this whole object-model in my head which is basically a compromise between class-based #oop, and prototyped with differential inheritance.
You would just need to differentiate between an objects namespace and its layout, decoupling state and strutucture. 'Layout' only being created when the object is used as a prototype, and the resolution chain would go local ns->local layout if any->proto layout. Changes to the layout would have to be done explicitly to get propagated down.

🔍 Bounded Context: Problem oder Lösung?

In @ewolff zweitem Talk auf der #OOP in #München spielen Bounded Contexts eine zentrale Rolle. Dabei werden drei Bedeutungen aufgezeigt: als fachliche Geltungsbereiche, technische Module und Aufgabenbereiche von Teams. Diese vielseitigen Definitionen können jedoch auch zu Verwirrung und erhöhter Komplexität in Projekten führen.

Link zum vollständigen Beitrag: swaglab.rocks/bounded-context-

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

[Перевод] Классы проектирования против классов анализа

Статья представляет собой перевод статьи отсюда , на которую я натолкнулся в процессе изучения темы системного проектирования. В системном дизайне понимание разницы между классами проектирования (design classes) и классами анализа (analysis classes) носит ключевой характер. Классы анализа подобны детективу — они исследуют и понимают проблему. Они сфокусированы на том, что система должна делать, без погружения в то, как именно это должно быть реализовано. Эти классы помогают разработчикам понять требования к программе и ее цели. В то время как классы проектирования подобно архитектору берут результаты изысканий классов анализа и создают план, как именно система будет работать.

habr.com/ru/articles/885906/

ХабрКлассы проектирования против классов анализаСтатья представляет собой перевод статьи отсюда , на которую я натолкнулся в процессе изучения темы системного проектирования. В системном дизайне понимание разницы между классами проектирования...

Trying to sell my treasured copy of the rare Derren’s Brown book, Absolute Magic. I had it signed by Derren, in person, because I knew he wouldn’t like me having that older book. I then took it to Penn and Teller and got them to sign it, because I thought it would be funny.

Derren’s didn’t like me having the book, andPenn and Teller did not think it was funny, but they signed it like good sports, all the same.

Pleas boost to see if there are any fellow travellers out there in need of rare knowledge.

#derrenbrown #pennandteller #magic #mentalism #oop #rarebook

ebay.co.uk/itm/326456995756?mk

eBayAbsolute Magic. Signed by Derren Brown (& Penn and Teller). 2nd Edition. OOP | eBayNot for the inexperienced practitioner. I thought it would be funny to ask him to sign it when I attended an audition for one of his shows, though he did not laugh and I was not chosen.