Collegiate courses in computer science are particularly tricky to balance due to how available answers to specific problems are online on sites such as Stack Overflow. For example, a student may look up how to properly sort a list in the language of their choice from a preexisting SO question, rather than design and implement their own algorithm.
I recall discovering SO in the last weeks during my introductory CS class, and it immediately cut the time I spent on assignments in half. Being able to see somebody else's implementation of a particular algorithm in the language we were studying was very enlightening when it came to seeing the most efficient and readable way to code specific algorithms, but at the same time I felt it was making me a "lazy" programmer; I was not exercising my ability to think critically about problems as much as I was exercising my ability to research solutions. Thus, I made an honest effort to try to avoid SO.
There are several discussions on the site already regarding the backlash against questions on SO that are clearly related to homework assignments. The question I ask is whether you think it is harmful to beginning programmers to look up issues on stack overflow and other sources.