This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
Adam, I read it as "unit of indentation is 4 spaces and tag eight spaces. The exact nature of indent ( tab vs. spaces) is unspecified'. I decided to disable tabs and use spaces. so, I am using 4 spaces. Aruna.
I'm not sure about the coding conventions of my assigment..for example what is the right indentation between the row where is "throws" and the rows where is the "switch"?
Break after a comma. Break before an operator. Prefer higher-level breaks to lower-level breaks. Align the new line with the beginning of the expression at the same level on the previous line. If the above rules lead to confusing code or to code that's squished up against the right margin, just indent 8 spaces instead. Therefore, your code becomes this: