-2

So basically I make several programs. Of course one program often used code from another. So I have my own personal "library"

Well, I do write jerk codes. Then When I open a project, the project will require another file. I add that file and that file require another file, then I add that file and that file requires another file. Then, I ended up with so many files the program doesn't need. I ended up having to correct really really old codes that are no longer used on files I do not need. Why? Because I don't bother structure dependency. Well, subject for another question.

What do you do to avoid this problem.

1
  • I wonder why is this downvoted?
    – user4951
    Aug 17, 2012 at 0:37

1 Answer 1

3

You modularize and make libraries. Each library may contain much more than you will need in a project, but it is a single atomic unit that is easy to handle.

For starters, keep the library version number in the file name.

Remember to use a SCM like git. It will be very helpful in the long run.

0

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.