2015年1月30日星期五

SLOG 2

The past several weeks seemed busy and interested since we have been learning something different and complicated, and they were attractive as well. Some new knowledge was introduced to us, including  the concept of building a class and writing its method.
At first, Professor Danny used some simple examples to make us understand the basic steps of creating a class. For example, when we want to own a tool that can calculate the area of any triangle, we should firstly create a class that is called Triangle, and give the concept of a triangle. Don't take it as a stupid work, since some day we may have to solve problems that are much more complex, and the basic concept is very significant. Then we have to write definitions of the area, and we can call it triangle_the_area. After giving the docstrings  of the definition, we can finally write the method of the definition, which is so-called most important and difficult part of a class.
during the next Weeks, we also learnt how to raise the Errors, by using
The method Exception. With this method, we can easily find out some Errors that may be tough to catch or may cost us a lot of time. That can help us write function more accurately and save ours time, so I think it is important for us to use it when necessary.

2015年1月24日星期六

SLOG 1

   As the heroes in the well-known TV series ‘The Big Bang Theory’, geeks are generally defined as the guys who are obsessed with computer technology and science. Most of them are incredibly intelligent on academic stuff, but not able to create good strong relationship with the world. In other words, so-called ‘common people’ cannot understand their lives. They regard them as the smart rebarbative geniuses who indulge themselves in the virtual world. We can see the dislike from the public to the geeks from the word ‘geeky’.
   That’s why geeks should know how to write. For a common person, the contents of books or articles are the most acceptable knowledge, which means, they are willing to believe the words they read. If a geek manages to write, he will gain opportunities to let the world know his thoughts, the technologies he is interested and the happiness he wants to share with people about the virtual world.
   Another advantage of the geeks who can write is that writing is the most efficient tool to spread their idea. With writing skills, for instance, they can spend 1 hour on writing down their ideas, and let thousands of people know what they are doing. Compared with the usual communicating methods such as chatting and making speeches, writing is absolutely a better way to express, especially with the help of the internet.
   Writing can also help geek field develop and obtain fresh blood. Some teenagers who are not clear with their futures may find their interests in this field and join them after reading the stuff geeks write. That’s related to the prospect of computer science, to some level.
   Above all, writing ability is important for geeks, and they have to make efforts to let the world comprehend why their virtual world is so appealing.