2015年3月27日星期五

Week11: Revisit OOP

Thanks for the blog I commented  :http://computersciencemaggie.blogspot.ca/2015/03/summary-of-object-oriented-programming.html?showComment=1428022607229
In my earlier post, I only discussed about the concepts of class and inheritance. In ComputerScience0909's blog, the author not only summarized in a more efficient and clear style, also discussed other Object-Oriented Programming concepts, such as Recursion, Trees, and AbstractDataTypes. Comparing to his ideas, I have found my explanations are not specific enough.

To sum up my thoughts so far, python's coding style is to class things up. Since my partner works part-time  in the mobile gaming area, he has found out that they implement games by a 'Model, View, Controller' approach, which is similar to our Game_State class and Strategy class. I'm very lucky to have a partner who is enthusiastic in computer science. I have learnt a lot form him. :)

Also, this week we revisited sorting selections to study the efficiency of sorting. To understand the how these selections work clearly, the illustrations are needed for me. The following blogs summaries the selections clearly with good images.
http://darkfoxnewslog.blogspot.ca/2015/03/slog-for-week-11.html?m=1









Bubble sort






















I'm feeling myself thinking more like a computer scientist!

没有评论:

发表评论