Thursday, January 22, 2015

Week #3: Why geeks should write?

Week #3: Why geeks should write?



To see whole semester slogs, go to http://148wuboyangw3.blogspot.ca

It is very common for us to face a dilemma when we are debugging something we have debugged before. Although we have solved it several months or several days, or even hours ago, we may still forget what should we do to fix it. So that is simply why we, computer science learners, should write and record frequently.

Just as a student, a debugging journal, or say debugging log, is not only a way to be efficient when we write code for assignments or labs, but also a way to make our test review much more easier. 





One thing that stroke me so deeply last term was that the difference between the global stack and the local stack when we set new variables.  I found this problem confusing when I did my assignment of 'csc108'. After I solved the problem of why I had not change the variable in my function, I did not write this down. Then at midterm, when I was struggling working with the past tests, I failed in many problems related to when the variables would change. So I turned back to my assignment, and used visualizer to debug my code for another time. Finally, I found the difference between the global stack and the local stack, and learned this lesson.

Hence, debugging journal is a good habit to keep during our computer science learning.

Recommend: http://lhzuigao.blogspot.ca/2015/02/summary-of-object-oriented-programming.html?showComment=1428297533544#c5125539547234044692
Yue has mentioned that we have not enough prepare for the implement of classes exercises, I think that should be notice in the future courses.

No comments:

Post a Comment