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

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.

主站蜘蛛池模板: 嵊州市| 晋州市| 新干县| 罗江县| 沈丘县| 衡南县| 西安市| 大兴区| 兴国县| 佳木斯市| 柘荣县| 郑州市| 铜山县| 萝北县| 赞皇县| 景泰县| 甘泉县| 汉寿县| 广平县| 徐闻县| 抚顺市| 吴旗县| 甘南县| 昭觉县| 民乐县| 舒兰市| 镇巴县| 南昌市| 潞西市| 石景山区| 宣恩县| 革吉县| 库车县| 昌平区| 湖北省| 南江县| 佛教| 车致| 东台市| 凤山市| 海兴县|