8? Activity Monitor
In the above code, we use three functions, order500, order200, orderNormal to handle its own business logic, If the current own function cannot handle things, We pass it to the following function to handle it. By analogy, Until there is a function that can handle him, Otherwise, the responsibility chain mode will leave the chain directly, telling that it cannot be processed and throwing an error prompt. Although the above code can be used as the responsibility chain mode, we can see from the above code that the Order500 function depends on functions such as Order200, so there must be this function, which also violates the open-closed principle in object-oriented. Let's continue to understand writing flexible and detachable responsibility chain nodes.
In general, weightlifting belts can be used for competitive weightlifting as well as strength squats.