Design Principles: A Discussion on SPI and API

Design Principles: A Discussion on SPI and API

Author: Happy Framework Original: https://www.cnblogs.com/happyframework/p/3325560.html Background My first encounter with SPI was while reading “The Art of Software Framework Design”. Later, I gradually discovered this way of organizing code in JDBC and SpringBoot. Here, I present a thought process on why we should distinguish between SPI and API. Starting from interface-oriented programming We introduced an … Read more

Mastering Two Key Concepts in Microcontroller Programming

Mastering Two Key Concepts in Microcontroller Programming

We recommend following the public account below to learn more about electronic technology knowledge! 1. Layered Thinking The idea of layering is not a mysterious concept; in fact, many engineers working on projects already use it themselves. I have seen many posts that do not mention this, yet the layered structure is indeed very useful, … Read more

Mastering Two Key Microcontroller Programming Concepts

Mastering Two Key Microcontroller Programming Concepts

Layered Thinking The idea of layering is not something mysterious; in fact, many engineers working on projects are already using it themselves. I have seen many posts that do not mention this concept, yet layered structure is quite useful and once understood, it gives a sense of enlightenment. If I don’t understand how to drive … Read more

Two Programming Philosophies for Microcontrollers

Two Programming Philosophies for Microcontrollers

Layered Thinking Layered thinking is not a mysterious concept; in fact, many engineers working on projects are already using it. I’ve seen many posts that do not mention this concept, yet a layered structure is indeed very useful, and once understood, it can lead to a moment of clarity. If I don’t understand how to … Read more

Embedded Software Design for Testability

Embedded Software Design for Testability

“Star Public Account“, Let’s Progress Together! Hello everyone, I am Mixed Cuisine Jun. This time we will introduce embedded software design for testability. What is testability? It means that after you finish writing a software module/function interface, you can conveniently and comprehensively perform self-testing. Let’s take a simple example to understand testable software. There is … Read more