Originally Posted by andyroo89
Does anyone else go on sourceforge or github or stackoverflow and look at source codes (if available) of a project your working on if youre having trouble with something? I do it sometimes if I am stuck, and in a way I feel like im cheating
I have some ebooks for programming some of them have been somewhat helpful.
How else does one learn? I would be very surprised if any programmer here came and said "I've never googled something". Source code is great asset to have, especially if its a library you are using in one of your projects however the important thing to remember is to distinguish between was is implementation detail and what is contractual.
Its fine to look at the source code to see how something works, but if its implementation detail it is important to not program around it, because you cannot rely it will continue working that way in the future - however to better understand the internal workings of something, it is invaluable.
I myself have the CLR source code (albeit outdated, but still handy) if I need to find out how something works inside the CLI (http://en.wikipedia.org/wiki/Shared_Source_Common_Language_Infrastructure
) - but of course after reading the documentation (which is contractual).
In fact I would encourage your usage of sourceforge, etc, it is very beneficial - looking at code is a great way to learn this art. Books are great, but I find practical resources such as real-world source code (not junk in a chapter example) are excellent for learning.