Why make anything internal?
Posted
by c-charp N00b
on Stack Overflow
See other posts from Stack Overflow
or by c-charp N00b
Published on 2010-06-10T15:57:53Z
Indexed on
2010/06/10
16:02 UTC
Read the original article
Hit count: 268
I don't really see the point of making methods or classes internal. In my very limited understanding, all it does is make working with your code very difficult for other programmers. Say I write Big_Important_Class for Project A and make said class internal. Then Bob, working on Project B needs to use my class to have project B work with Project A, but since its internal he can't. As of now this is the only thing I have seen internals do, make things really complicated for the guy working on Project B. I know there has to be a good reason to use internals, but I don't see any. Could someone please explain how they can be a good thing?
© Stack Overflow or respective owner