| ||||||||||||
The most important suggestions in the book have to do with naming and coding style. The author recommends using Hungarian Notation, in which prefixes are used with variable names to describe the scope and data type of all variables. Tables and sample code show you how to get going.
There are many suggestions for writing more maintainable code. A chapter on writing effective comments is a standout. Throughout this book, the author provides examples of correct and incorrect code practices. (This edition makes good use of two-color presentation and highlighted text to illustrate key concepts effectively.) A final section looks at the importance of source version control with Microsoft Visual SourceSafe.
While more expert programmers may quibble with some of the ideas presented, there's much to mine in Practical Standards for Microsoft Visual Basic. Whether or not your shop adopts all of them, there's little doubt that you'll benefit from this compilation. --Richard Dragan
Topics covered: Problems with Visual Basic code today, advantages of coding standards, using custom object and project templates, effective module design (cohesion, fan-in, and fan-out), naming conventions and Hungarian Notation, creating descriptive names, constants vs. magic numbers, enumerations, error-handling tips and techniques, indenting code, using white space, a guide to writing effective comments, end-of-line comments, flow control statements, user interface design hints, form and menu design, consistency, using system colors, user input, mouse and keyboard interaction, version control, using readme files, and installing and using Visual SourceSafe.
James has personally written more than 200,000 lines of commercial production code in both single-programmer and multiple-programmer environments. He is the author of numerous books, including Sams Teach Yourself C# in 24 Hours and Practical Standards for Microsoft Visual Basic .NET, and he has written articles for Access-Office-VBA Advisor and Visual Basic Programmer's Journal. James has a bachelor's degree in management of information systems (MIS), is a Microsoft Certified Solution Developer, and is an international speaker on Microsoft Visual Basic. When not programming or writing about programming, he enjoys spending time with his family, playing guitar, doing battle over the chess board, listening to Pink Floyd, playing computer games (Raven Shield multiplayer), and (believe it or not) programming! You can reach James at http: //www.jamesfoxall.com/forums. ) Copyright Pearson Education. All rights reserved.
Product Details
Would you like to update product info or give feedback on images?
|
|
Share your thoughts with other customers:
|
||||||||||||||||||||||
|
Most Helpful Customer Reviews
14 of 14 people found the following review helpful:
5.0 out of 5 stars
Every Visual Basic Developer NEEDS This Book,
By Michael R. Myers (Pennsylvania, USA) - See all my reviews
This review is from: Practical Standards for Microsoft Visual Basic (DV-MPS General) (Paperback)
James' presentation of the material and solid examples of the subject matter are worth many times the retail price of this book. Any devloper who works with a team of developers will see results and value in implementing even just a few of James' suggestions. Even if a developer is not in a team environment, implementing standards will allow the code to be easier to understand to others or to the same person in the future when changes will need to be made.I wish more developers would follow the suggestion of the book to take steps to increase the readability and maintainability of their code. Being in a position where I have inherited numerous projects from numerous developers, i can only dream of the hours I would have saved had their code been formatted in a similar fashion, and using a standard for variable names would have been like winning the lottery! This book is a great foundation and starting point for the Visual Basic Developer (new to programming or with experience) to begin to implement Code Standards and increase the readability and maintainability of their code. I cannot express eloquently enough the relief I felt in finding a standards book aimed solely at Visual Basic since most standards books are aimed at C/C++. I highly recommend this book to every Visual Basic Developer and believe that every developer should keep this book within reach at all times in their developing environment. A sincere thank-you to Mr. Foxall for taking the time to do what we all *know* needs to be done in standardizing our code and releasing his findings to us in such a well-designed format and proving his assertions with real code blocks to show the incorrect vs. a more correct way of accomplishing the task. If you are a Visual Basic programmer, you *NEED* this book. The e-version of the book on the included CD-ROM is just awesome and makes this book even more useful since you can have an electronic copy at your disposal when you need it.
10 of 11 people found the following review helpful:
5.0 out of 5 stars
Finally! This book is long overdue...,
By Mike Huntington (Austin, Texas) - See all my reviews
This review is from: Practical Standards for Microsoft Visual Basic (DV-MPS General) (Paperback)
Thank you thank you thank you! As a person in charge of 5 programmers, I can tell you that managing code of 5 people sometimes feels like I'm managing 5 different projects in 5 different languages.Mr. Foxall has put together a book that will now allow code to be written consistently and efficiently. Now, if someone quits, it will be so much easier to have someone else take over their code. That isn't to say that it's going to be easy to get our older code up to using these standards. Actually, it will take a bit of work (we should have been doing these things all along, but never knew exactly what to do). I'm going to get a copy for all of our developers. Kudos!
5 of 5 people found the following review helpful:
5.0 out of 5 stars
Destined to be a classic!,
By A Customer
This review is from: Practical Standards for Microsoft Visual Basic (DV-MPS General) (Paperback)
The author has obviously written Visual Basic code for a living. His work has a definate 'been there' feel to it. He offers practical advice on writing better code and creating better user-interfaces.I found the chapter on architecting modules and procedures particularly helpful. While most books don't lend themselves well to an on-line format, this book's on-line format on the CD is exceptional in that it makes it easy to reference the material - which you'll want to do often. I keep mine with my staples: Code Complete and Dan Appleman's Guide to the API. b
Share your thoughts with other customers: Create your own review
|
|
|
Tags Customers Associate with This Product(What's this?)Click on a tag to find related items, discussions, and people.
|
|
This product's forum
Active discussions in related forums
Search Customer Discussions
|
Related forums
|