


You could probably replace 'bugs' with 'code' 'problems' or 'mistakes' in most scenarios. The only way to solve it may be stepping through and figuring out behaviour slowly and steadily line-by-line. And if a really long time has passed then, aside from the cost of interrupting what you are otherwise working on, it may not even be clear what was intended by the original code, probably written by others, and there's a fair chance more has been built on top of the buggy code making it more complex and a bigger task to tackle.

If a lot of time has passed since a feature was worked on and a bug is spotted or tackled then it might take a fair bit of time to figure out how everything works again before you can fix it. If a bug turns up later or perhaps soon after it's deployed you might have an idea of where it might be and track it down fairly quickly. It might go something like this: If you spot a bug as you're writing a new feature everything is fresh in your mind and it can sometimes take just a moment to fix. JavaScript lies at the heart of almost every modern web application, from social apps like Twitter to browser-based game frameworks like Phaser and Babylon. In general, the longer the time between when a bug was first introduced and when the bug is identified and fixed the more expensive it is in both time and money. ( 37 ratings ) Currently unavailable on Scribd About this ebook Completely revised and updated, this best-selling introduction to programming in JavaScript focuses on writing real applications.
#Eloquent javascript ipad software
Just as mistakes and the unexpected are part of life, bugs are part of software development.
