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

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.

主站蜘蛛池模板: 高州市| 肃南| 鸡泽县| 苍梧县| 辛集市| 营口市| 宜都市| 竹溪县| 育儿| 来凤县| 明溪县| 南康市| 西青区| 柳江县| 梁山县| 廊坊市| 昭觉县| 遂川县| 岫岩| 缙云县| 钦州市| 安宁市| 来安县| 永善县| 中卫市| 阿拉尔市| 信丰县| 临湘市| 延吉市| 沂水县| 汕头市| 广平县| 定襄县| 浦江县| 宁国市| 饶河县| 牙克石市| 新野县| 大埔县| 孝感市| 神农架林区|