reliable ▪ we love the same thing about our environment ▪ Swift build times could skyrocket ▪ Code quality is our #1 priority ▪ … and we are not afraid to implement strict rules to enforce this
monograms from names. The rules are: ▪ Input ▪ name is a string ▪ first name, middle name, last name are separated by a space, if they exist ▪ Output ▪ should consist of 1 or 2 character ▪ should be without whitespaces Examples “Gabor Nagy Farkas” -> “GN” “Richard Szabo” -> “RS” “David” -> “D” “” -> “”
currently we can fight agains them with good practices ▪ Higher-order functions are the shit! ▪ There are a lot of tips and tricks over the internet, how to write more efficient code ▪ https://medium.com/@mimicatcodes/simple-higher- order-functions-in-swift-3-0-map-filter-reduce-and- flatmap-984fa00b2532 ▪ https://github.com/apple/swift/blob/master/docs/ OptimizationTips.rst ▪ http://detho.re/2016/01/21/writing-memory-efficient- swift-code/ ▪ https://www.objc.io/books/optimizing-collections/