The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

lutzhank (61) [Avatar] Offline
#1
MEAP 11/02/2010

1) First paragraph last line
orig: "...if one is not found..."
suggestion: "...if none is found..."

2) First paragraph after 3.5 3 to 4th line
orig: "..and every variable is a member of some object.."

I am confused because I don't see how
def example(x:Int) = {
val a = 5
x + a
}
a is a member of an object, or do you mean that any variable has as type always a class?

3) First paragraph after 3.5 3 to 4th line
orig: "Having static doesn’t fit well with that goal..."

suggestion: "Having static doesn’t fit well within that goal"

4) Second paragraph after 3.5, first and second line
orig: "...except instead of class we’re using the object keyword"

suggestion: "...except instead of the class keyword, where we’re using object instead"

5) Second paragraph after 3.5, last line
orig: "...the class name, as you’d invoke static methods in Java or C#:"

Because an object need not have a companion class I suggest to argument with the object name.

Therefore suggestion: "...the object name. Common convention is to start it with upper case like a class name."

-------------------------
Corrected MEAP version
Message was edited by: lutzhank