Middle+
Use a ready-made library or write your own? (build vs buy dilemma)
sobes.tech AI
Answer from AI
The choice between using a ready-made library and writing your own depends on several factors:
- Time and resources: a ready-made library saves time but may contain unnecessary features or not fit specific requirements.
- Control and customization: a custom implementation provides full control and the ability to optimize for specific tasks.
- Reliability and support: popular libraries are usually well-tested and supported by the community.
Example: if a simple JSON parsing function is needed, it's better to use the standard library. If a specific format or optimization is required, consider writing your own implementation.