Quote:Original post by YogurtEmperorYou're right that there's probably not going to be any agreement on this, and at this point, any further argument would probably just be repetition (there have been some arguments made against type prefixes - including counter-arguments to your arguments - that I don't think you've addressed or responded to in any of your posts, but I imagine repeating them again here probably wouldn't do much good).
I feel I have made strong points, but there is no way to make everyone agree on this subject and taking it beyond this is too much of a waste of time (no really, look at how much I have typed in these last few posts!)
I am going to throw out one more thing though. I'm a little embarrassed to admit that I spent time doing this, but I quickly looked through the source code of a fairly large selection of open-source libraries to see what sort of naming conventions they use. Some of these libraries are very well known and widely used, have very large code bases, and presumably have been worked on by many different developers over the years. Interestingly, only one of the libraries I looked at (out of about 20) uses type prefixes (as far as I can tell, at least).
Maybe I just got lucky and happened to randomly pick libraries that reinforce my own point of view. Or maybe type prefixes are more commonly used in closed-source projects or other code bases that I don't have access to. Another possible explanation though is that not that many people are using these sorts of naming conventions. If using type prefixes was 'the best' way to do things, wouldn't more of these projects be using such a convention?
Again, although I prefer no type prefixes, I think individuals/teams should use whatever works best for them, and I wouldn't presume to say that my preferred conventions are better than someone else's. Really, the only reason I've continued to post is that you seem to be arguing for type prefixes as 'the' right way to do things, which I disagree with. (Apologies if I've misinterpreted your arguments.)