Taking the First Steps with Swift
Ever since I was 12 years old and wrote my first program in BASIC, I have been passionate about programming. Even as I became a professional programmer, programming remained more of a passion than a job, but in the years preceding the first release of Swift, that passion had waned. I was unsure why I was losing that passion. I attempted to recapture it with some of my side projects, but nothing really brought back the excitement that I used to have. Then, something amazing happened: Apple announced Swift in 2014. Swift is such an exciting and progressive language that it has brought a lot of that passion back for me and made programming fun again. With official versions of Swift available for the Linux and Windows platforms and an unofficial version for the ARM platform, developing with Swift is becoming available to people outside the Apple ecosystem. There are also some very exciting projects using Swift, such as TensorFlow for machine learning and CoreML for IBM Watson. This is an exciting time to be learning the Swift language.
In this chapter, you will learn about the following topics:
- What is Swift?
- What are some of the features of Swift?
- What are playgrounds?
- How to use playgrounds
- What are the basic syntaxes of the Swift language?