Yes. You're kidding yourself if you think you can churn out a major piece of work, or even a significant class, completely bug free first time. Embrace them, and put your time into good unit testing procedures to identify the bugs quickly. read more
The term "bug" to describe defects has been a part of engineering jargon since the 1870s and predates electronic computers and computer software; it may have originally been used in hardware engineering to describe mechanical malfunctions. read more