Setting up
Setting up êŽë š
Debugging is the act of removing mistakes from your apps, so in some respects programming is the act of putting bugs into your apps. Whatâs more, thereâs a famous quote that should strike terror into your heart: âDebugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.â
Of course, the truth is that weâre not able to write code âas cleverly as possibleâ â we all just muddle through and do our best. Debugging, then, is inevitable: even the best of us writes software with mistakes in, and itâs a hugely important skill to be able to find and fix those mistakes as efficiently as possible.
In this project weâll be looking at several different debugging techniques, all of which are useful. Iâve arranged them easy to hard, so you can get started immediately and work your way forward as your skills improve.
Remember: there is no learning without struggle. Every time you make a mistake coding, youâll be forced to debug it, and in doing so your coding skills will improve as will your debugging skills. So: donât be annoyed when you screw up â it benefits you in the long term!
To follow along, please create a new Single View App project named Project18.