Saturday, 31 January 2015
Recursion
During this week, I got some fresh ideas about recursion, which is an essential tool used in computer science basically when a function calls itself. At first, I didn’t figure it out completely because the technique used in the function seemed that there was no big difference between the functions we learned previously and this new recursion function. However, when I ran and called functions in shell I became confused about the result came out. Tracing functions helps me understand how the recursive functions behave. Since we are calling the same function again and again, it is easy to make mistakes, therefore, it is important to trace it step by step logically. When we are tracing the recursive functions, we will eventually get to the base case when problems are progressively getting smaller and smaller. All the problems will become easier when you can fully understand the process of tracing recursive functions.
Thursday, 22 January 2015
Why geeks should write
Computer science requires strong logical thinking skills. The ability to convey ideas in written English is one of the important elements to help think logically. In this case, writing serves multiple purposes.
First, when geeks are confused or uninspired, writing is a perfect way to help freshen their mind and clarify their thoughts. Keeping a log gives a record, so that we will be clear about what has already done and what to do next. In this case, the record also offers us some experience that we can review and refer to if we need to go through a similar situation again in the future. Meanwhile, the record offers assistance to other programmers to understand our code. Therefore saves time to rewrite when they want to use it.
Moreover, our mind palace sometimes ignores some tiny details that may actually be very important during our programming process. By writing down either our goals or our problems, we get a chance to reanalyze all the information clearly with everything listed including our blind spots. If a person can write the journal fluently and logically, then he will be able to organize and communicate the ideas because he gets better understanding of what he is working on.
First, when geeks are confused or uninspired, writing is a perfect way to help freshen their mind and clarify their thoughts. Keeping a log gives a record, so that we will be clear about what has already done and what to do next. In this case, the record also offers us some experience that we can review and refer to if we need to go through a similar situation again in the future. Meanwhile, the record offers assistance to other programmers to understand our code. Therefore saves time to rewrite when they want to use it.
Moreover, our mind palace sometimes ignores some tiny details that may actually be very important during our programming process. By writing down either our goals or our problems, we get a chance to reanalyze all the information clearly with everything listed including our blind spots. If a person can write the journal fluently and logically, then he will be able to organize and communicate the ideas because he gets better understanding of what he is working on.
Subscribe to:
Posts (Atom)