On page 279, section 13.4, there's a mention of deltaV, yet in Listing 13.12, there's no such name. I assume it means fuel.
My Scala question is, in that same Listing, you have to import Rocket.fuel. That seems awfully confusing to me. I couldn't figure out what the heck it meant until I read on to see what they were getting at. Now I wonder though.. isn't there a possible naming collision problem in Scala.. If the class has a subclass with the same name as a member of it's companion object then boom right? I know it's unlikely.. just curious. If the Rocket class had an internal class called launch and the Rocket object had a member called launch.. when you imported Rocket.launch which would you get? I know with naming conventions this shouldn't happen.. but that seems a little shaky..
I hate answering my own question.. but of course the inner class would not be accessible in the same context.. I was thinking of Java's static inner classes.. which in Scala make a lot less sense, since there are no static members.