4 ms·
That's kind of one of Swift's things - it is designed to be as accessible as a scripting language but scalable to full applications and system software. Ideall
by musicale 4y ago
That's kind of one of Swift's things - it is designed to be as accessible as a scripting language but scalable to full applications and system software.
Ideally it gives you some of the convenience and accessibility of a language like Python, combined with runtime efficiency of a language like Objective-C.
print("hello, world") is a cute example since it's a valid program in both Python and Swift.
(Though I still haven't forgiven Python for removing the print statement, which dates back to BASIC antiquity.)