From the course: Programming Foundations: Conducting Code Reviews
Unlock the full course today
Join today to access over 24,400 courses taught by industry experts.
Review implementation details
From the course: Programming Foundations: Conducting Code Reviews
Review implementation details
- [Instructor] After you understand the purpose of the author's code changes, you can begin to look at what code changes are being made. As discussed before, one of the first things you can do is see if the code changes accomplish the task at hand. This requires downloading the version of the code with the code changes and running it to see if the code changes impact the application as expected. If you find an error, you could provide a general description of your findings to the author or a better way would be to look at how the change was implemented and leave a note on where the error in the code might be. For example, let's say the author was adding a feature that rolls a die for a game application in JAVA. The output the die's roll should be any number from one to six, but when you run the program on your computer, sometimes the roll is a zero and the roll is never a six. Initially, you might think, "Weird, I must be "running it wrong," but usually, that's not the case. If you…