Swift offers the ability to write extensions. I do that a lot to make my code easier to read. Not sure if they are harmless. I am wondering, would it be better to just omit extensions, because of performance reasons?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…