Thursday, 6 February 2014

Week 5

The lab this week gave me the well-needed practice I needed for tracing. I thought it would be hard at first but when I actually tried it on Notepad on the computer, it was actually pretty easy. I found that tracing code really helps me with understanding how programs work and debugging a program if something goes wrong. I applied the tracing methods with recursion during this lab and it really helped save time.

The way python searches for names of variables and functions was something new to me. I imagine this could help me create and structure code in a more organized manner. I've heard of the terms "local" and "global" before but the term "nonlocal" was new to me as well. Nevertheless, I'm sure that knowing this will be useful for my future programs

No comments:

Post a Comment