Given that the number one reason why Unit Test fails is the code is not testable which make the unit test difficult, costly, un-maintainable, making the application layer independent through the interface is the most important concept in the clean architecture.
When Test Driven Development Goes Wrong
When you feel TDD is difficult when you first started TDD, that might sign that there are improvements to make in the design. There are 5 common anti-patterns. The Liar Passes all tests with no useful assertions, which could be caused by chasing test coverage. => Write the test first, which fails with a purpose.… Continue reading When Test Driven Development Goes Wrong
How to mine the coin in a one page
Make a wallet. https://www.myetherwallet.com/ Join the mining pool. https://ethermine.org/ Install the mining program from the mining pool above. Setting the PC using Afterburner, etc. regarding overclock or power supply, etc.Setting example. Low Core clock Hight Memory clock Low power limit Check the console values: example target value is for RTX 3070Ti Average speed in Hash… Continue reading How to mine the coin in a one page
Functional Programming in one page
A mathematical function returns the same result every time. The functional world has 2 characteristics. The function has no side effects. Take input and produce output. -> called pure function. All data structure is immutable. -> There is no mutable state. A functional programming language provides a bridge between pure functional work and the messy… Continue reading Functional Programming in one page
Beyond Microservices in a one page
Problems Clients know too much: Auth, Encryption, etc. Hard to change a microservice -> Don’t know who’s using it. Hard to add a new microservice -> No one may use it. Being political. Responsibility for the failure in a microservice. What happened when a microservice fails. REST is slow Solutions – Useful Architectures API Gateway… Continue reading Beyond Microservices in a one page