- The Node Craftsman Book
- Manuel Kiessling
- 143字
- 2021-07-02 23:36:51
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.
推薦閱讀
- 30天自制操作系統
- UNIX操作系統設計
- 操作系統基礎與實踐:基于openEuler平臺
- 新手易學:系統安裝與重裝
- SharePoint 2013 應用開發實戰
- Linux網絡內核分析與開發
- 高性能Linux服務器構建實戰:系統安全、故障排查、自動化運維與集群架構
- 嵌入式系統及其應用(第三版)
- Linux內核設計的藝術:圖解Linux操作系統架構設計與實現原理
- Distributed Computing with Go
- Windows 8完全自學手冊
- 辦公自動化教程(Windows7+Office2010)
- Java EE 8 High Performance
- Linux深度攻略
- openEuler操作系統核心技術與行業應用實踐