Follow

Welcome to … which one is wrong:

Exhibit A

import UIKit
import SnapKit
import RxSwift
import CustomUI

Exhibit B

import CustomUI
import RxSwift
import SnapKit
import UIKit

Bonus questions…
- why?
- what is wrong with me? (open ended, semi-rhetorical)

@CraigsOverItAll Both are in a terrible language. But import order shouldn't matter, everything imports its own requirements, right?

The C dance of #ifdef FOO_H #define FOO_H ... #endif solved that problem decades ago.

Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!