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.

matthewv (1) [Avatar] Offline
The sample source code within the book list comments about the code afterward in a "#A, #B, etc" legend. That seems ok in the R book, but is really annoying here in the CL book. Would you mind using standard /* */ or // comments before each block of code instead of all afterward. It is not fun thumbing back and forth between pages (forward to the legend, backward to the code, repeat).
matthew.scarpino (9) [Avatar] Offline
Re: Source code within book
Hi Matthew,

You have my deep sympathy, but it's Manning policy that all code comments are given as annotations (#A, #B, #1, and so on). These improve readability in the published book, but they're not helpful in the intermediate stages.

mato (44) [Avatar] Offline
Re: Source code within book
Hi matthewv,

As Matt said, the MEAP files are just an intermediate step. In the final book/e-book, the annotations are displayed next to the relevant code in the listing. OpenCL requires longer listings, so the distance between the location in the code and its related annotation is probably more noticeable than it was in the R book.

Maria Townsley
Developmental Editor
Manning Publications Co.