汎用性
The concept of "汎用性" can be translated to "versatility" or "general-purpose" in English. It refers to the ability of something to be used in a wide range of situations or for various purposes.
When it comes to software development, there are two important aspects to consider: the risk of becoming like a subcontractor and the need for general small functions.
The risk of becoming like a subcontractor refers to the danger of relying too heavily on external dependencies or third-party libraries. While using existing libraries can save time and effort, it also means that you are putting your project at the mercy of those libraries. If the library is no longer maintained or if it has a critical bug, it can have a significant impact on your project. Therefore, it is important to strike a balance between using existing libraries and developing your own code to ensure that you maintain control over your project.
On the other hand, the need for general small functions highlights the importance of writing modular and reusable code. By breaking down your code into smaller functions that perform specific tasks, you can improve the readability, maintainability, and reusability of your codebase. This approach allows you to easily modify or extend your code without affecting other parts of the system. It also promotes code reuse, as these small functions can be used in different parts of your project.
In conclusion, when developing software, it is crucial to consider the risk of becoming like a subcontractor by carefully selecting and managing external dependencies. Additionally, focusing on creating general small functions can greatly enhance the versatility and maintainability of your codebase.