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

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.

主站蜘蛛池模板: 隆尧县| 金秀| 银川市| 盐津县| 梁平县| 贵定县| 韶山市| 马山县| 葵青区| 拜城县| 察哈| 集安市| 陆河县| 施秉县| 贵州省| 西峡县| 故城县| 临西县| 台南市| 建始县| 思南县| 九台市| 北安市| 桦川县| 广宗县| 海晏县| 桐柏县| 江津市| 凭祥市| 桂东县| 措美县| 特克斯县| 靖宇县| 句容市| 安吉县| 进贤县| 宜春市| 崇礼县| 竹北市| 龙南县| 包头市|