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
MEAP 11/02/2010

Listing 2.7
Question: Why do you prefer "def tokens =" rather than "val tokens =" here?

1) Listin 2.7 use of "splitByEqual" without prior definition distracts further reading, without knowing, that it is defined later, at least me.
orig: "def tokens = splitByEqual(nameValue)"

suggestion: add comment, that "splitByEqual" is defined later e.g. "see Listing 2.9"

2) Before Listing 2.8, second last line of previous paragraph
orig: "handlePostRequest method is little more involved because it needs to..."

It seems that "handlePostRequest method is little more evolved ..." also makes sense.

Corrected MEAP version
Message was edited by: lutzhank