Swift Style Guide
Общее
if (a > b || (c != d)) && (d < k && a < k) { print("Good job!") } // Заменяем на let jobIsGood = a > b || (c != d)` let jobIsDone = (d < k && a < k) if jobIsGood && jobIsDone { print("Good job!") }
Соглашение о стиле кода
Last updated