Make your Swift code expressive: addition operator use cases

I like reading short and expressive code. Because developer spends more time reading code than writing, expressiveness often is obligatory. Unless shortness does not obscure the intent, I favor concise expressions over longer ones. For example: Try in Swift sandbox import Foundation let greeting = "Hello, " let who = "World" let message1 = greeting + who let message2 = greeting.appending(who) print(message1) // => "Hello, World" print(message2) // =>… Continue reading