Friday, 30 January 2015

SLOG2: Impression of last few weeks

It has been several weeks since I started learning CSC148. In these lessons we were mainly taught something about class and methods of class, which shows the main idea of OOP. Though we just begin studying the meaning of OOP, I am impressed by it deeply, especially when I am working for the Assignment1.

Yesterday the Assignment was due and part go my work was done. In this assignment we were asked to use the idea of OOP to write a subtract square game that human can play with the computer opponent. Obviously in such a game there are various methods should be used, such as starting the game, changing the turn, and making the move. In order to write them specifically and use them integrally, we need to put them into different class to distinguish what features they have. While running them, we need to create instances for different class in the correct order so that they could show their own functions. That is how to think via OOP idea.

Besides, inheriting is also an important part. The inheriting between superclasses and subclasses and the overriding of methods make it possible for us to use one function to achieve different functions instead of defining excessive different functions. There is no doubt that such a feature is really efficient for a geek.

Saturday, 24 January 2015

SLOG1: Why Geeks Should Write

As we are taking CSC148 this semester, it does not matter to call us geeks. However, geek is not a simple name or even nickname. In fact, it means an attitude, a spirit, and a sequence of duties. One of the duties, except coding, should be writing. So why should us geeks write? Here are some of my ideas.

First, while we are designing and coding, most of us could encounter some special conditions, and we could even make mistakes and fail. Whatever the condition is, experience could always be summarized from it, which would actually make a difference in our future work. Therefore, writing the experience down and revising them frequently would be an effective method to improve our levels. I still remember that when I learned CSC 108 at the beginning of last semester, I always ignored the importance of the format. As a result, I could hardly figure out why my program could not be runned at that time. I should met less trouble if I kept a habit of writing before and recorded experience like this.

Then, writing ideas and designs on paper or in the computer would help us to fulfill them. Sometimes if we keep all the ideas in mind but do not write them down, we could easily be confused by the excessive solutions and get dizzy. At that time, writing could lead us to the specific method and finally help us to solve the problem. Assignment 2 and Assignment 3 of CSC108 both had numerous
clues and requirements and need many kinds of methods, especially in the latter one. I believe that similar condition would take place in CSC148, which needs clear ideas, too.

Last, now that we write our ideas, experience and questions on the blog, we gain an opportunity to communicate with other geeks. As we are all geeks, helping others to solve the problem and learning from others are obligated and effective. We could make progress together via writing slogs and reading others' slogs. 

To conclude, there is no reason for us geeks to reject writing slogs every week. Only if we do so would we come to a higher level and grasp computer science studying further.

Wednesday, 21 January 2015

My new blog

Hello every one, today is the first day of my new blog. Every of you are welcomed to add me!