Swift在代碼中的每個語句之後不需要分號。它們只有在您希望在一行上合併多個語句時才需要。
不要在用分號分隔的單個行上寫多個語句。
let swift = "not a scripting language"