How I started using individual files instead of a single assembly

I don’t know the exact date, but it was roughly 10 days ago, so around December 21. A shared assembly had these advantages:

  1. You just import it
  2. It doesn’t have to be compiled again
  3. I don’t need a version control system
  4. If I use class variables, I don’t have to rely on them as much
  5. I could send it as a single file
  6. It could be installed into the GAC, so it would no longer need JIT compilation.
  7. etc.

The advantages of separate files, on the other hand, include:

  1. Larger size (the files are in every project)
  2. Smaller size (I import only what I need)
  3. No more complex interface
  4. I can see exactly which classes I have used
  5. I can remove the unused methods or add new ones
  6. etc.
Categories

Leave a Reply