Monday, February 14, 2011

Reflect: Gridworld

This week we worked on more gridworld. Gridworld has never been a huge issue for me. I was a little confused on how to use ArrayLists to get the job done, and the random thing has always baffled me. I used the regular gridworld commands instead of using an ArrayList I just used the command. I was rewarded with a program that did the exact same thing, used less code, and had none of the intended content. Programming is supposed to be about the easiest way to execute a goal. I think these labs are a confusing example, because this I don't see how ArrayLists would make my job easier as a program, and if they don't make it easier to program, why would I use them?

No comments:

Post a Comment