- 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.
推薦閱讀
- R語言數(shù)據(jù)分析從入門到精通
- Android Jetpack開發(fā):原理解析與應(yīng)用實(shí)戰(zhàn)
- 程序設(shè)計(jì)與實(shí)踐(VB.NET)
- 軟件測(cè)試工程師面試秘籍
- Instant QlikView 11 Application Development
- Cocos2d-x學(xué)習(xí)筆記:完全掌握Lua API與游戲項(xiàng)目開發(fā) (未來書庫(kù))
- Python3.5從零開始學(xué)
- Buildbox 2.x Game Development
- Illustrator CS6設(shè)計(jì)與應(yīng)用任務(wù)教程
- Machine Learning for Developers
- Flink技術(shù)內(nèi)幕:架構(gòu)設(shè)計(jì)與實(shí)現(xiàn)原理
- 3ds Max 2018從入門到精通
- 高性能MVVM框架的設(shè)計(jì)與實(shí)現(xiàn):San
- ASP.NET Core 2 High Performance(Second Edition)
- 深入實(shí)踐C++模板編程