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

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.

主站蜘蛛池模板: 威信县| 栖霞市| 汉川市| 龙州县| 贵南县| 麻城市| 东源县| 陆良县| 隆德县| 西盟| 盖州市| 安福县| 石景山区| 海林市| 禄劝| 永城市| 观塘区| 石楼县| 富锦市| 丹棱县| 泗洪县| 虞城县| 宁德市| 定陶县| 陆河县| 和静县| 萍乡市| 上高县| 南汇区| 调兵山市| 石渠县| 那曲县| 乐山市| 万安县| 长沙县| 泸西县| 雅安市| 龙州县| 谷城县| 福鼎市| 申扎县|