Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

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?

share|improve this question
    
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 '11 at 6:53

2 Answers 2

up vote 2 down vote accepted

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.

share|improve this answer
    
Looks nice. Maybe I should go about developing my own ;) –  MattyD May 10 '11 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.

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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