I have been looking at Swift, Apple’s new language which replaces Objective-C. If anything I’m completely underwhelmed. Apple had a chance to make something new and clever, to take queues from languages like Ruby, but instead the language looks pretty disappointing.
Take, for example, their weird decision to use backslash and brackets as a variable delimiter. If you want to print:
“Bob”, you are 2m (6.56′) tall
you would code:
println("\"\(name)\", you are \(height_in_m)m (\(height_in_feet)') tall")
Readable code? Not in my book, what a mess!