Bug proofing Visual Basic
A guide to error handling and prevention
Résumé
them. The longer a bug exists in a system, the harder it is to locate and repair. From Visual
Basic guru Rod Stephens, this practical book outlines strategies for designing bug-free programs
from the first line of code. It also shows how to test programs at crucial stages of development,
how to locate and correct errors quickly, and how to repair programs damaged by bugs.
Table of contents
- Part One: Work Environment ..... 1
- Chapter 1: Programming Philosophy ..... 3
Chapter 2: Work Habits ..... 19 - Part Two: Coding Style ..... 33
- Chapter 3: Variables ..... 35
Chapter 4: Constants and Enums ..... 61
Chapter 5: Exposing Bugs ..... 73
Chapter 6: Being Obvious ..... 101
Chapter 7: Comments ..... 129
Chapter 8: Gotchas ..... 145 - Part Three: Development ..... 171
- Chapter 9: Design ..... 173
Chapter 10: Encapsulation ..... 195
Chapter 11: Optimization ..... 215 - Part Four: Error Handling ..... 227
- Chapter 12: Error Handling Fundamentals ..... 229
Chapter 13: Standard Error Handlers ..... 253 - Part Five: Post-Coding Activities .....
275
- Chapter 14: Testing ..... 277
Chapter 15: Profiling ..... 303
Chapter 16: Debugging Habits ..... 315 - Appendix A: Self-Test Solutions
Appendix B: Header-Comment Templates
Index
L'auteur - Rod Stephens
Rod Stephens - In a previous incarnation, Rod Stephens was a mathematician. During his stint at MIT, he discovered the joys of algorithms and graphics, and has been programming professionally ever since. During his career he has worked on an eclectic assortment of applications spanning such topics as repair dispatch, telephone switch programming, tax processing, and training for professional football players. Rod has written more than a dozen books that have been translated into half a dozen different languages, and more than 200 magazine articles covering Visual Basic, Visual Basic for Applications, Delphi, and Java. He is currently a columnist for Hardcore Visual Basic (http://www.hardcorevisualbasic.com). Rod's popular Web site, VB Helper (http://www.vb-helper.com) receives several million hits per month and contains more than a thousand pages of tips, tricks, and example code for Visual Basic programmers. The site also contains example code for this book.
Caractéristiques techniques
PAPIER | |
Éditeur(s) | Wiley |
Auteur(s) | Rod Stephens |
Parution | 05/01/1999 |
Nb. de pages | 416 |
Format | 229 x 152 |
EAN13 | 9780471323518 |
Avantages Eyrolles.com
Consultez aussi
- Les meilleures ventes en Graphisme & Photo
- Les meilleures ventes en Informatique
- Les meilleures ventes en Construction
- Les meilleures ventes en Entreprise & Droit
- Les meilleures ventes en Sciences
- Les meilleures ventes en Littérature
- Les meilleures ventes en Arts & Loisirs
- Les meilleures ventes en Vie pratique
- Les meilleures ventes en Voyage et Tourisme
- Les meilleures ventes en BD et Jeunesse