- iOS 9 Game Development Essentials
- Chuck Gaffney
- 112字
- 2021-08-05 16:36:55
No more semicolons
Those of us who have been programming for some time might note that the usually all-important semicolon (;
) is missing. This isn't a mistake; in Swift, we don't have to use a semicolon to mark the end of an expression. We can if we'd like, and some of us might still do it as a force of habit, but Swift has omitted that common concern.
Note
The use of the semicolon to mark the end of an expression stems from the earliest days of programming when code was written in simple word processors and needed a special character to represent when the code's expression ends and the next begins.
推薦閱讀
- Android Wearable Programming
- OpenCV實例精解
- Leap Motion Development Essentials
- Mastering PHP Design Patterns
- Object-Oriented JavaScript(Second Edition)
- TypeScript圖形渲染實戰:基于WebGL的3D架構與實現
- Learn WebAssembly
- JSP開發案例教程
- 硅谷Python工程師面試指南:數據結構、算法與系統設計
- iOS開發實戰:從入門到上架App Store(第2版) (移動開發叢書)
- 蘋果的產品設計之道:創建優秀產品、服務和用戶體驗的七個原則
- Deep Learning with R Cookbook
- Learning iOS Security
- Magento 2 Beginners Guide
- Mastering Gephi Network Visualization