代码 1
array.remove(at: index)
这样子的设计是合理的
原因是这个 
代码 2
x.removeBoxes(havingLength: 12).
这样子的设计也是合理
原因是这个 
问题
如果代码 2是合理的,那么代码 1也应该符合When the first argument forms part of a prepositional phrase, give it an argument label.这个原则,所以代码 1 应该改成
array.remove(atIndex: index)
PS
Swift API GuideLines 的地址在这里