© Wallace Wang 2019
Wallace WangPro iPhone Development with Swift 5https://doi.org/10.1007/978-1-4842-4944-4_2

2.  Debugging Code

Wallace Wang1 
(1)
San Diego, CA, USA
 

In the professional world of software, you’ll actually spend more time modifying existing programs than you ever will creating new ones. When writing new programs or editing existing ones, it doesn’t matter how much experience or education you might have because even the best programmers can make mistakes. In fact, you can expect that you will make mistakes no matter how careful you may be. Once you accept this inevitable fact of programming, you need to learn how to find and fix your mistakes.

In the world of computers, mistakes are commonly called “bugs,” which gets its name from ...

Get Pro iPhone Development with Swift 5: Design and Manage Top Quality Apps now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.