You are using an outdated browser. Please update your browser for a better user experience.

Code Review Warmup

miscellaneous

Group up with others around you and perform a mock code review on code below. Discuss with your group what problem(s) the written code introduces and then discuss a possible solution to the each problem. Since there are many problems with the code, do not take it upon yourself to try to touch on them all and instead just discuss the code at a high level with your group.



Content pulled from: Code Smells: Too Many Problems ... ... There is not solution to this as it is an interpretive process. Here is an example of a rough markup of the code:


Here is an edited version of the code that was provided with the example.