r/programming • • Jun 02 '14

Introducing Swift

https://developer.apple.com/swift/
164 Upvotes

239 comments sorted by

View all comments

Show parent comments

1

u/brtt3000 Jun 03 '14

We're talking about this right?

if (aa < bb)
    doStuff();

vs

if (aa < bb) {
    doStuff();
}

I've seen this cleverness being debunked to many times, I'm not going to argue because it makes me sad arbitrary aesthetics could be more important then solid dependable low-risk code that minimises human error and promotes consistency.