Week 3 [Mon, Jan 27th] - Tutorial

Due to CNY holidays in this week, we'll have a mass-tutorial, via Zoom, in the first half of the lecture slot on Friday (Jan 31st, 1600-1700).

  • To join the tutorial, use the Zoom link used for the lecture (given in the Canvas homepage).
  • As you know, tutorials count for participation.

The tutorial task is given below. You are encouraged to try it in advance, to prepare for the tutorial.

1 Find coding standard violations

Learning goals of this exercise:

  1. Learn to carefully cross-refer the coding standard, and objectively identify rule violations. This is not a memory test. No guesswork or speculations please.
  2. To learn not to mix up coding standard violations with other code quality issues. The exercise asks you to identify coding standard violations only.

So, for each coding standard violation you identify, you should be able to trace it back to a rule in the Java coding standard.

Find coding standard violations