Saturday, February 21, 2015

Week 5 Thoughts on Recursion

Apologies for the late post!!!I got three midterm that week and forget to post the slog.

I have not been introduced to this before, and heard that recursion is hard to learn. However, during the lecture, prof demonstrate a couple of exercises of tracing recursion,  i find those examples pretty easy to do.  The process is just like executing python visualizer by our hand. After the class i looked up the concept on internet, and get to know that " recursion function will call itself in  its body multiple times and then if the function satisfied the recursive condition, it will then return the value of this function call " it works kind of like a while loop, when you were given a list, you need to look up each of them with given condition, when a condition been satisfied, you can then apply the function to it, and then keep going on until a value was returned.

The quiz that week is similar to what we learned in the lecture, however the lab is not easy to do, after a couple of times of TA's assisting i finally got it correct. I think i still need to practice a bit at home.

Sunday, February 1, 2015

First impression to 148

Time went so fast, right after we finished our first  assignment, the  mid-term test was coming.
I took the csc108 last semester, and i do find that interesting, since we always have the pre-lecture which can taught we through lots of coding knowledge before the lecture and get us prepared, so i find 108 easy to handle. Except that since i do get a fair grade, therefore i got some confidence in computer science, and decided to pursue a minor or major in this area.

However, things get lot more difficult in 148. When i even did not get familiar with the  "class" method, our first lab arrived, and we have been introduce to a lots of new method and stuff. I feel like i forgot lots of knowledge after the break, and also i found that there are some method prof used in 148, have not been properly or formally introduce to us, and sometimes the 148 prof's method is different with what we being taught in 108, therefore i was very confused in the first 2 weeks, i also find the lab pretty hard. However, when the first assignment comes, my friend offered to be a partner, and he did guide me through a lot of my confusion and i also went to the help center and that solved lots of my problems.

Now things start to become a bit more doable to me, i hope everything will get better! And i will work hard to tackle all the problems.  

Sunday, January 25, 2015

Why should geek write?

When we talk about a programmer, we use the word-geek to describe them; and normally the first image comes into our mind about them would be a mid-age male, with a pair of wired glasses and messy hair style. Geeks always sit in front of computer and barely talk. That's because people stereotypically think that geeks never social, do not fully understand how to properly communicate, which also includes written communication, writing. However, I believe that writing skills is also extremely essential to the programmer.

As the whole world is more and more dependent on communication, now a good programmer also requires to have decent communication skills. I was pretty inspired by Joel Spolsky's article "Advice for Computer Science College Students". In the article, Joel mentioned that "a great programmer is the one who can communicate their ideas, persuading other people of their thoughts and using clearing comments and description to let end user easily understand their code." I find that very reasonable, because in the end of the day, programmer have to sell their code in exchange for living expense; And only when the buyer can understand the program and is convinced by the value of the code, they will then pay the programmer.

Some people might think that for a programmer, communication and writing skills is just an unnecessary accessory, they believe that only concrete coding knowledge is essential. I don't think that is completely wrong, but I believe with proper writing skills and convincible communication skills, a programmer can better present his or her value to others, and improve the efficiency for the user and add effectiveness for the program.