Get better and faster at writing swift code

Writing code is a like a sport, if you want to get better at it, you have to practice. Making apps involves a wide range of skills, not just writing code. To get better at programming you need a different kind of routine, one that involves training your algorithmic thinking.

Algorithmic thinking

Algorithmic thinking, just like movement in sports, requires you to master certain shortcuts for acting faster. The only difference is that they happen at a higher level of thinking, a more abstract one. Thus, reflexes are critical because they contribute a lot to your thinking speed.

Similar to learning algorithms, unless your algorithmic reflexes are decent, you will spend more time understanding the problem, instead of exploring the solution to the problem. But this changes over time as you gain more problem-solving experience.

A simple habit of solving one or two simple challenges in the morning or in your free time will help you build those reflexes in a couple of months.

Have you noticed how your mind tries out different solutions when you struggle with a hard thinking problem? Well, having reflexes and a fast thinking ability will help you validate or discard more potential solutions for the problem in a given amount of time.

A frequent mistake that beginners do is to get stuck with one bad solution, which they gradually try to improve. But improving is not an option if the initial idea is flawed.

If you work as a programmer or engineer, improving your algorithmic skills will enable you to see better the pros and cons of a certain system architecture or several, and make more inspired decisions before implementing a change.

Online Exercises

Good news! We have over 100 programming challenges from simple to hard in our library of online exercise. You can write swift code and test your solution directly in the browser or you can solve the problems in a Playground.

Here are a few you can start working on now:

  1. Nobody’s Decision
  2. Rock and Roll
  3. Cooking Recipes
  4. Compute 2 to the Power of N
  5. Greatest Common Divisor
  6. Sum of Powers
  7. The Natural Base
  8. The Golden Ratio
  9. Partial sums
  10. Hash Tables

Until 20 Feb 2017,  you can get full access to the exercise platform for only 3$/month by using the code WESWIFT. Subscribe now!

Happy swifting!





1 Star2 Stars3 Stars4 Stars5 Stars (7 votes, average: 4.43 out of 5)

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

We send about one email per week with our latest tutorials and updates
Never display this again :)