fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

10K
active users

#oop

6 posts6 participants0 posts today

Gemini 2.0 is very smart, though not as smart as 2.5 pro. The problem is not 2.0 herself, but the fact that she has to handle a huge amount of queries. She will not spend too much resources on a particular user. You have to push her to her limit to get the "correct" response.

Whatever you can achieve with "#Interface", you can do it with OOP. if you have a perfect understand of #OOP, there is really no need for interface. In any case, here are 2 examples of using "this" in both cases. #C#

GRASP: почему настоящая архитектура начинается не с SOLID

Хочу начать с личной предыстории. Давным-давно, как и многие из вас, я читал умные книжки: «Чистый код» и «Чистая архитектура» Роберта Мартина, «Совершенный код» Стива Макконнелла и другие. Также не обошли меня и классические принципы проектирования — SOLID , KISS , DRY — и, думаю, каждый читатель добавит сюда свои. Безусловно, это всё важные и фундаментальные вещи. Но однажды на горизонте появилось DDD — предметно-ориентированное проектирование в изложении Эрика Эванса. Именно его «синяя книга» стала культовой и задала язык для архитектурного мышления. Позже я открыл и «красную книгу» Вона Вернона, где DDD уже рассматривался с точки зрения практической имплементации: архитектура, код, реальные подходы в проектах. Читая Эванса, рассматривая его диаграммы классов и примеры кода, я всё думал: как он это делает? Самым большим открытием для меня стало то, что книга DDD хоть и показывает стратегические и тактические приёмы — агрегаты, объекты-значения, спецификации, фабрики и т.д. — но не учит проектировать саму предметную область . Складывалось ощущение, что мы это уже откуда-то должны были знать . А откуда — остаётся загадкой.

habr.com/ru/articles/900140/

ХабрGRASP: почему настоящая архитектура начинается не с SOLIDМногие инженеры начинают своё архитектурное мышление с SOLID. Затем изучают GoF-паттерны. Но всё равно остаётся ощущение, что чего-то не хватает: распределения ответственности, логики построения...

No, non ho abbandonato il progetto. GIAMMAI!

Anzi... Sono sempre più determinato a volerlo portare a termine.
Il Mondo ne ha bisogno! 😌

Scherzi a parte...
La mia #OCD nel voler fare le cose perfette, mi ha costretto a sperimentare molte strade differenti.
L'ultima che ho imboccato, mi ha portato dritto dall'architettura #ECS: en.wikipedia.org/wiki/Entity_c

L'ho studiata e ho riscritto tutto seguendone i sacri dettami, permettendomi qualche piccola modifica affine ai miei gusti (#OOP).

en.wikipedia.orgEntity component system - Wikipedia

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 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.