5

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?

1
  • 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
    Commented May 10, 2011 at 6:53

2 Answers 2

2

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

http://www.flexiblelearning.com/ssbk.htm

"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.

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

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.

Contents
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.

Storage
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.