Rafael George

Economics has nothing to do with money but has everything to do with people.

Economics also describes people’s motivations to change the state of such a system.

In the Digital economy, money is not the only value holder.[¹]

Every digitalization of a traditional industry will force the market to do the same to stay competitive.

[¹]: Edson Yanaga(2021): Slice & Dice Your Monolith With Domain Driven Design by Edson Yanaga (https://youtube.com/watch?v=TYgHtZhS1jI)

--

--

Use cases contain the rules that specify how and when the Critical Business Rules within the Entities are invoked.[¹]

A use case is a description of the way that an automated system is used.

UseCase Objects exists to model a single business process. Use Case Objects are a middle layer between external actors and the system’s internals.

A Use Case Object enforces a contract for inputs and outputs. The response of the object depends on the business rules that it implements.

[¹]: Robert Martin(2018): Clean architecture: a craftsman’s guide to software structure and design(https://www.amazon.com/Clean-Architecture-Craftsmans-Software-Structure-ebook-dp-B075LRM681/dp/B075LRM681/ref=mt_other?_encoding=UTF8&me=&qid=)

--

--

Define boundaries between the core domain and infrastructure to enable a pluggable system.[¹]

The library components do not define the architectural boundaries of a system. The features that support business capabilities do.

Don’t let framework components into your business domain. Framework’s architecture exists to support the tool rather than any business.

Frameworks are not built but extractedDavid Heinemeier Hansson

— -

[¹]: Robert Martin (2018): Clean architecture: a craftsman’s guide to software structure and design(https://www.amazon.com/Clean-Architecture-Craftsmans-Software-Structure-ebook-dp-B075LRM681/dp/B075LRM681/ref=mt_other?_encoding=UTF8&me=&qid=)

--

--

The perfect job would offer enough challenge to be interesting. And enough money to pay the bills.[¹]

The ideal job would be easy enough to be enjoyable.

The perfect job has enough camaraderie to be nourishing. It has enough solitude to be productive.

The perfect job has enough hours at work to get things done.

The perfect job provides enough leisure to feel refreshed — enough contribution to feeling needed.

The perfect job enables enough silliness to have fun.

Of course…

— -

[¹]: Joseph R. Domingue, Vicki Robin(2018): Your money or your life: 9 steps to transforming your relationship with money and achieving financial independence(https://www.amazon.com/Your-Money-Life-Transforming-Relationship/dp/0143115766/ref=tmm_pap_swatch_0?_encoding=UTF8&qid=1629737132&sr=8-1)

--

--

Procedural code is easy to understand but harder to change. Object-oriented code is harder to understand but easy to change.

A simple procedure is the easiest thing. It’s easy to change and easy to understand. Simple in this context means it’s short and has no conditions.

The problem with simple procedures is they don’t scale.

Simple procedures accumulate conditionals. Over time they become hard to understand and thus change.

Object-Oriented Design uses messages to add levels of indirection.

Object-Oriented Design adds complexity. Yet, indirection makes the solution harder to understand, with the added benefit of changeability.

If a problem can be solved with a simple procedure, you should not be writing OO[¹]

Business change is inevitable. Code arrangement should account for future change while leaving many options open for the team.

— — -

[¹]: Sandi Metz (2019): Polly Want a Message(https://www.youtube.com/watch?v=YtROlyWWhV0)

--

--

Rafael George

Rafael George

Another internet, books, food, movies, music, code junkie; yes junkie