2013年9月23日星期一

Programming format confusion

  As expected, the first few weeks of lecture mostly evolve around class and objects. Some of the details of class are still quite vague to me, but every time when I run into some problems, I look into the rampup slides that was forwarded to us and they surely lessen my burden. 
  I was confused with Danny's programming format at the beginning. He didn't really guide us through the design receipe but I can understand that because sometimes there can be many variation and combinations and it is impossible for professor to go over them one by one with us. The part that got me confused for quite a while is actually the function header he wrote. It is slightly different from the format I learned in csc108. We were told to write a function header on the first line and the docstr and description on the second line. Interestingly, Danny didn't seem to include a docstr in his defined function which I found really weird. 
  However, I later on discovered that Danny actually include his docstr in the function header which I found smart and it truly brings clarity. It seems confusing at the beginning as I thought it is something new but when I actually breaks down the code, I realizes some similar pattern in both format. 
  For further understanding,I read each lecture slides over again to make sure my interpretation is right. Now, I learned to adopt this new kind of programming format. 
  I am excited and do look forward to the next lecture. 

New challenge of CSC148H1F

  This is the first week of school and many of us came to school unprepared, including myself being one of them.I took csc108 last year which fulfill the requirement of csc148. However, I personally don't feel as confident about the material about class and objects and from what I heard, csc148 is challenging because the course flow is almost twice as quick as it was in csc108 and the topics that will be covered in csc148 will mostly be surrounding class and objects.
  I was really nervous during the first lecture but thankfully, our professor Danny actually went through many of the csc108 material with us in class and gave us a list of website access that gives some tutorial about python. Those lists are so useful and I set them as my favourite pages in my laptop.For further preparation, I went through some of the past notes that I took for my csc108 courses and also went through the 70 pages rampup slides that were forwarded to students.
  I hope I can manage to do well in the upcoming classes.