Skip to content
Swift is Fun

Practice and bugs

The practice and bugs shelf is for tasks and broken code. A future article will show a fragment that does not behave as the reader expects and will explain one cause. There are no articles now. The quizzes and short practice of the three basics courses are not blog posts. They live inside Course 1, Course 2, and Course 3, and on the site they are Pro.

The difference matters. A lecture is free and already contains a teaching example with answers to three self-check questions. A quiz and a practice do not lay out the full solution without Pro. An article on this shelf, when the author writes it, will be a third format: an open look at someone else's mistake, with a link to a course, not a copy of a closed task. The shelf will not publish "quiz answers" dressed up as a note.

The basics shelf explains how a construct is assembled. This shelf will look for where it is broken: a wrong comparison sign, a swapped argument, a name that was overwritten by accident. The comparisons shelf talks about the shape of study. This shelf talks about code.

The Swift is Fun app trains bug finding in a constructor. You can download it only from the App Store. The site does not replace that trainer. United States Pro is $9.99 a month or $79.99 a year. Canada Pro is $12.99 a month or $99.99 a year. The Stripe button does not charge you, and there is no login by App Store receipt.

While the shelf is empty, open the free Course 2 lecture. It shows which branch runs and how a wrong sign sends the game the wrong way. Course 1 and Course 3 use other examples so practice is not one repeated page.

Future notes are by Evgeniia Bruiko. A text will have a date, an update, and sources. Empty tags such as loops or closures do not get pages until an article sets them. Until that day, practice on the site is the Pro plan on a course, not a feed of write-ups. Open a lecture, then the quiz plan, and do not wait for the blog to reveal a closed answer.

This shelf has no articles yet.