2 ms·
Like the author, I also wouldn't mind a Smalltalk syntax flavor for the whole Swift language. ;-) Though having used Python a lot, I've also become something o
by musicale 6y ago
Like the author, I also wouldn't mind a Smalltalk syntax flavor for the whole Swift language. ;-)
Though having used Python a lot, I've also become something of a fan of braceless, indented syntax, which I find to be clear and conserving of vertical space.
But I do understand the main argument for making it C-like: they wanted to make an easier transition for Apple developers who were already using Objective-C, and others who might be coming from Java/C#/C++/JavaScript/et al.. Also Smalltalk's syntax, while simple, orthogonal and versatile, simply never caught on the way C's did.