Why I Can’t Stop Being Excited About Swift

When the Swift bombshell was dropped on us at WWDC yesterday, there was an awkward hesitation in the room before the unsure applause set in. I heard that while everyone was clapping, one guy in the audience was just starting, clearly upset, in the live stream.

Yet, as we learned more and more about Swift in the Platform State Of The Union yesterday, and as we started looking through the Swift iBook, I could see the excitement building throughout the day in both myself and the other developers I’ve come across. Here is are some of the reasons:

Familiarity

Swift is a brand new language, yet it is familiar to any programmer who’s worked with any other language besides Objective-C. To me, it feels a lot like Ruby, but others see Python, Javascript, Perl, or even Haskell in it.

 

 

 

Basically, Apple has managed to release a brand new language that is already intuitive to most developers. That is pretty amazing.

Experts Love It

Yesterday, I was very lucky to be in the presence of some iOS Developers who’ve been working with Objective-C for somewhere between 10-25 years, with years of iOS expertise. It was amazing to see them open up the Swift iBook and get so excited and rejuvenated at the possibilities. There are frameworks, open source libraries that need to be written, events to put on, education to refine!!!!

The Experts seem to really trust the team behind Swift, and they seemed excited to see that all their issues / complaints with Objective-C were resolved in Swift. Of course, I’m not an expert in all of this stuff, but it was great to be part of such amazing conversations and  feel excitement (instead of annoyance to have to learn something new) from people who really are Objective-C experts. It makes me proud to be part of this community.

Beginners Will Love It

As I was watching Apple demo the “playground’ tools for iOS app development, I couldn’t stop thinking how much this will benefit beginner coders.

Just think about it – all a beginner has to do is install XCode, launch the fun playground, and go! They see real-time expression evaluations as they code. Or, if they’re making a game, they can see the game in action as they type the code. Oh yeah, and then there is the documentation playground! That is seriously ground breaking.

Compare that to the Android installation process, or even Ruby or Python for that matter! No intimidating terminal to look at! Oh yeah, and I still honestly am not really sure how to navigate the Android documentation.

I remember when I was first starting to learn to code in Java via Stanford’s CS106A, I got a bunch of people (over 40!) to join me on my learning journey. About 3/4 of them dropped out at the setup process – they couldn’t get Eclipse installed and running, and I couldn’t help them, because I was also a beginner at the time. Swift CHANGES EVERYTHING for beginners.

As I mentioned in my tweets earlier, I really wouldn’t be surprised if iOS becomes the first language of choice for self-taught beginner developers. I’m also not sure they’ll be able to switch to anything else!

Level Playing Field

Starting yesterday, EVERYONE is a Swift expert. This is amazing. We have a unique chance of being really good at a language, right at the start of it, that we know MILLIONS of developers will use in the upcoming years.

I was talking to a very experienced developer yesterday, and he mentioned how he wrote Ruby on Rails back when it was in version 1.0 and 2.0. There was very little chance that it was going to take off. Luckily it did, but my guess is that most new languages don’t. Here, we have something that nobody knows yet (except the creators of Swift) that we KNOW FOR SURE will be HUGE, and we get to start learning it with everyone else on day one.

This means that newer developers will have the opportunity to make pretty big contributions to the community. Again, think of all the open source libraries that will need to be re-written, written from scratch, etc!!! This is truly an exciting time to be an iOS developer.

Big Risk, Big Reward

Apple took a MASSIVE risk yesterday. They KILLED a language they’ve been working with and creating since the 1980s to open up development for the mass market. This is seriously crazy and awesome of Apple at the same time. Yet, the risk seems to have already paid off. Instead of isolating existing iOS developers, we cannot be more excited about the future.

Enjoy the article? Join over 14,500+ Swift developers and enthusiasts who get my weekly updates.

  • I have been learning Ruby for 8 months and excited after looking at the Swift syntax, its pretty similar and makes sense. Looking forward trying it out.

    • Levi Roberts

      One of the great things about the Swift syntax is that it’s familiar for people in all sorts of backgrounds in other languages. I see Javascript similarities where you see Ruby similarities. How cool is that? Now we can all unite under one banner instead of the Ruby guys being in their own corner, the JS guys being in the other corner, Objective-C guys being in another corner, etc.

  • Melvin Wijenayaka

    Great Post I feel exactly the same and as a fairly new iOS developer circa 3 years I think its going to be incredibly exciting to carry forward that knowledge into the new world of Swift.

  • Jan Rendek

    Several days after the presentation, I believe that the introduction of Swift was the biggest thing that took place there. If this does not change the development field, nothing will.

  • Levi Roberts

    Don’t forget that it plays nicely alongside Objective-C! New libraries or code can run alongside current libraries and such. No need to re-write existing libraries at all. Imagine being able to update existing libraries built in Objective-C with new features in Swift! Yeah, you can have code that runs both languages!

    • Definitely agree. Swift plays very nicely with Objective-C. However, I’m guessing in the future Objective-C will be deprecated, but will probably take a few years…