So I am in the middle of making (and maintaining) my own code library with quick snippets to make life easier.

I'm assuming a lot of other people do this to help.

My question is, what sort of things do you store in this so called library

Also, Do you use any tools to organise this library?

  • You will learn that creating a good library is hard. How will you need to use any given non-trivial function in years to come?
    – user1249
    May 10, 2011 at 6:53

2 Answers 2


I found this to be a great program for managing different code snippets:


"The Scripter's Scrapbook is a fully-featured cross-platform personal reference library, source code repository and information organizer that integrates the convenience of the desktop with the resources of the web."

I am not affiliated with this at all, just thought it was cool. I've actually set my sights on making my own.

  • Looks nice. Maybe I should go about developing my own ;)
    – MattyD
    May 10, 2011 at 4:29

I have various libraries. Each library has its own subject, such as mathematics, hashing, security, bit manipulation. As I program in different languages and not all code is portable, I just tend to keep those libraries near the developing environment, as they clutter up quickly.

Each library consists of one or more well commented and well named functions. They range from Counting the number of set bits in a 32bit int, to deriving some unique machine id from the network interfaces and corresponding MAC addresses.

Projects (this is handy in .NET environments, you can load them everywhere) and compiled libraries (.dll).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.