I love the conciseness of the ternary operator to replace an 'if/then/else' construct. However, many times the 'else' part isn't needed. Why not make the colon an option?
for item in items {
if isTrue {
thing.append(item)
}
}
becomes this:
for item in items {
isTrue ? thing.append(item) : () // You have to add the colon and sort of a No-Op
}
better like this:
for item in items {
isTrue ? thing.append(item)
}
This way if you don't add the colon then you have just an 'if/then' construct. I'm sure there must be some reason for this. Still, it would look cleaner.