The book club of our company has chosen a new wonderful book for reading:
Robert Martin - Clean Architecture - a Craftsman’s Guide to Software Structure and Design
š
The book is superficial so far. Here’s an overview of the second part:
There are three programming paradigms:
Structured programming - is discipline imposed upon direct transfer of control. Object-oriented programming - is discipline imposed upon indirect transfer of control.
The book club of our company has chosen a new wonderful book for reading:
Robert Martin - Clean Architecture - a Craftsman’s Guide to Software Structure and Design
š
Here’s an overview of the first part:
The goal of software architecture to minimize the human resources required to build and maintain the required system. Two values of software Behaviour (function) - to satisfy stakeholders’ requirements Structure (architecture) - difficulty of making change should be proportional to the scope, not to the “shape” of the change Ease of change is more important!
There is a known issue in Python - you have to choose between sync and async code models.
And if you are using async code you can call sync code but from that code you CANāT call async code again.
Why does this problem occur? The event loop used by the async code is already stuck waiting for the result from the sync code. And if you want to call async code now, you cannot reuse the same event loop.