官术网_书友最值得收藏!

Notes on code formatting

Please note that long lines in code examples may receive a line-break, denoted by the backslash sign \. Take care to put those lines into your editor as one line.

Take, for example, this code block:

dbSession.fetchAll('SELECT id, value, categoryID FROM keyword \
ORDER BY id', function(err, rows) {

The PDF version of this book shows a line break right after the keyword part, denoted by a \ after the keyword.

However, in your editor, you need to make sure that the whole code resides on one line.

Also, note that from what I can see, code blocks can not be copy-pasted from the PDF version of this book. While this might seem like a major annoyance, experience shows that learning to program works way better if one is forced to transcribe code from a book into the editor.

主站蜘蛛池模板: 类乌齐县| 滁州市| 麦盖提县| 宣威市| 道真| 张家川| 都兰县| 措美县| 巧家县| 宣恩县| 淮阳县| 正阳县| 都昌县| 象山县| 廊坊市| 开远市| 蒲江县| 内乡县| 上杭县| 普安县| 东丰县| 休宁县| 内江市| 呼图壁县| 晋宁县| 朔州市| 濮阳市| 青铜峡市| 祁东县| 湾仔区| 绩溪县| 桐梓县| 玉龙| 额敏县| 拜城县| 兖州市| 饶河县| 招远市| 武鸣县| 台中市| 凤翔县|