Yoshiki Shibata (11) [Avatar] Offline
#1
On page 37:
The last parameter in the function is a variadic parameter, meaning it can take zero or
more parameters. This allows us to pass any number of template files to the function. Variadic
parameters need to be the last parameter for the function.
Now that we have the generateHTML function we can go back and clean up the index
handler function. The new index handler function now looks a lot cleaner!

There are three italic words: variadic, generateHTML, index.

Obviously, variadic is not the name of any function. So I think, names of functions/methods would be better to be in code font rather than in italic throughout the book.
Anonymous (122) [Avatar]
#2
Thanks for your comment! I'll take that into consideration. I used italics in order not to overwhelm the reader with too much code font in the text but you have a good point.
Sau Sheong (20) [Avatar] Offline
#3
Thanks for your comment! I'll take that into consideration. I used italics in order not to overwhelm the reader with too much code font in the text but you have a good point.

(Sorry for the previous post - I wasn't logged in then)
guims (7) [Avatar] Offline
#4
IMHO it is fine in italic.
Sau Sheong (20) [Avatar] Offline
#5
Hi, I've made the change to using Courier New to indicate code within the text for the updated MEAP. Hope this helps. Thanks for your feedback in making it a better book.