How Can I Find Useful Tools and Libraries Instead of Rebuilding Everything?
Asked by
14px_baseline
I'm relatively new to programming and have taken some courses in C++, Python, JavaScript, and web development. Now that I'm working on a bigger project, I often encounter challenges where I need functions or solutions I haven't dealt with before. My typical approach is to Google for solutions, find a library, and then spend a lot of time struggling with the documentation until it finally works. However, I sometimes stumble upon much better tools or techniques later on, which makes me frustrated because I didn't know they existed in the first place. I'm really curious about how seasoned developers find out about tools, libraries, or techniques that can save them timeโdo you have any strategies for avoiding the issue of reinventing the wheel? Is it mostly about experience, or are there specific habits or resources you recommend?
Answers
Your experience is pretty common! A lot of us discover libraries through a mix of luck, research, or recommendations from others. Staying connected is keyโmake sure to stay updated by following forums, influential figures in your field, and sharing experiences with peers. Keeping an eye on tech news can also help you learn about new tools and libraries as they come out.
Reply to this answer
I totally get where you're coming from! One of my go-to strategies is using GitHub's advanced search feature. Itโs helpful for finding the most popular repositories. Just filter by language and star count to find the best libraries. Also, checking out Apache Foundation projects can be a great resource if youโre into Java.
hydraulic ram: Great tip! And donโt forget to search through language-specific package repositories. They usually have the best libraries listed, and theyโre more likely to be well-maintained.
Reply to this answer
Definitely check out the dependencies in popular tutorials or what companies are looking for in job descriptions. Writing some code from scratch isnโt a bad idea eitherโit helps you understand how things work at a deeper level!
Reply to this answer
Honestly, it's a lot about time and exposure. Nobody knows every good library off the bat. You pick things up while reading documentation, looking at GitHub issues, or seeing what others use in tutorials.
Reply to this answer
You're on the right track! I usually start with a search on package repositories for what I need. For example, if I'm looking for something like a bloom filter, I check npm for JavaScript, NuGet for .NET, and so on. Skim the API docs after that and see which library fits your needs best.
!window62: Iโd be cautious about relying too much on AI to find libraries thoughโthey can sometimes suggest imaginary ones or mislead you!
Reply to this answer
Add your answer
Answers are reviewed before publication.
RUST prevention: Definitely, and donโt just settle on the first solution you find. Try to look for multiple options and see which one fits best for your needs before committing!