Have one to sell? Sell yours here
Practical Standards for Microsoft® Visual Basic® .NET (Pro-Developer)
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Practical Standards for Microsoft® Visual Basic® .NET (Pro-Developer) [Paperback]

Jerry Honeycutt
2.5 out of 5 stars  See all reviews (2 customer reviews)

Available from these sellers.


Amazon.co.uk Trade-In Store
Did you know you can trade in your old books for an Amazon.co.uk Gift Card to spend on the things you want? Plus, get an extra £5 Gift Certificate when you trade in books worth £10 or more before June 30, 2012. Visit the Books Trade-In Store for more details.

Product details

  • Paperback: 496 pages
  • Publisher: Microsoft Press; 1 edition (31 Aug 2002)
  • Language English
  • ISBN-10: 0735613567
  • ISBN-13: 978-0735613560
  • Product Dimensions: 23.1 x 18.3 x 4.1 cm
  • Average Customer Review: 2.5 out of 5 stars  See all reviews (2 customer reviews)
  • Amazon Bestsellers Rank: 1,354,857 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Author

James D. Foxall
Discover books, learn about writers, and more.

Visit Amazon's James D. Foxall Page

Product Description

Product Description

The same attributes that make Visual Basic® .NET exceptionally productive and easy to use can also lead to unexpected problems, especially when you upgrade. Using standardized programming techniques can help you solve those problems so that you can exploit all the power of rapid development—without creating hidden land mines in performance and maintainability. This book shows you proven practices to help you eliminate “voodoo” variables, create interfaces that make users more productive, write self-documenting code, simplify code modifications, and more. Each chapter illustrates common pitfalls and practical solutions with code samples—many from real-world projects. Whether you’re writing just a few lines of code or working with a team to build an enterprise application, you’ll learn how to use practical standards to develop better, more reliable code for every process.

TOPICS COVERED INCLUDE:

  • Creating object and project templates
  • Designing modules and procedures
  • Naming conventions
  • Using constants and enumerations
  • Variables
  • Formatting code
  • Commenting code
  • Looping structures
  • Controlling code flow
  • Exception handling
  • Programming objects
  • File operations
  • Debugging
  • Interface design
  • User input and notification
  • Distributing solutions
  • Version control
  • Source code control

PRAISE FROM THE VISUAL BASIC .NET TEAM

“This book provides a simple remedy for the lax programming style that we can all fall victim to from time to time. It shows you all the practical steps you can take to standardize your code in Visual Basic .NET—from creating object and project templates to using sensible naming conventions, and from commenting and formatting code so that anyone can understand it years later to controlling your source code and distributing your solutions the professional way. This invaluable resource goes beyond teaching how to simply write Visual Basic .NET code—it teaches you how to write your Visual Basic .NET code more effectively.”

Mike Iem, Product Manager, Microsoft Visual Basic .NET

About the Author

Jerry Honeycutt, MVP for Windows, is a popular author with more than 25 books to his credit, including Microsoft Windows Desktop Deployment Resource Kit. In addition, he is a columnist for Windows XP Expert Zone and Microsoft TechNet.


Inside This Book (Learn More)
First Sentence
If you or your development team creates numerous projects, you can save considerable development time and promote application consistently by creating and using object and project templates. Read the first page
Explore More
Concordance
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

Tag this product

 (What's this?)
Think of a tag as a keyword or label you consider is strongly related to this product.
Tags will help all customers organise and find favourite items.
Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Reviews

5 star
0
3 star
0
2 star
0
Most Helpful Customer Reviews
2 of 2 people found the following review helpful
Format:Paperback
I've programmed with Visual Basic since version 3, and in moving to VB.Net I found Microsoft had provided very few standards, those they had didn't seem to make much sense. This book clarifies the VB.Net standards issue, (naming conventions for variables, controls, etc), and provides some good programming practice, (with the exception of one or two examples which use 'goto', hence the four stars).

That aside, the standards are tailored for VB.Net developers and include the new features of the language.

Comment | 
Was this review helpful to you?
8 of 10 people found the following review helpful
Format:Paperback
...unfortunately most of it has been said before by Steve McConnell in his excellent, unparalleled "Code Complete". That said, Foxall clearly does have some of his own ideas - these can easily be distinguished by their being idiosyncratic to the point of silliness. For instance, the "directive" that a procedure must have only one exit point is followed by an example which uses a liberal sprinkling of (wait for it..) GoTo statements (..aw, you guessed, didn't you?) in order to achieve this dubious goal. The saving grace of this book is the detailed summary towards the end, whereby the dangerous things of the author's little knowledge are distilled out to produce a list of principles for quality programming - all of which unfortunately were dealt with in depth by McConnell in 1995.
Comment | 
Was this review helpful to you?
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com:  14 reviews
7 of 7 people found the following review helpful
Somewhat rehashed VB standards book 8 Jan 2003
By Gregory A. Beamer - Published on Amazon.com
Format:Paperback
After seeing the author jump in for a review, I decided I would add my two cents into this fray. While I do not agree with the 1 star "slam" that the author set out to counter, I think 3 stars may be pushing it, however.

There is a lot of practical advice in this book. While it should be obvious that a developer needs to set up templates without hard-coding and make all procedures perform very specific duties, we find that this is not the case in code. The book has quite a few good pieces of advice around the basic nature of programming. I will disagree with the author, however, on some points. For example, you should certainly minimize fan out (calling many procedures) for all but control functions, fan-in (multiple procedures using the same procedure) is a sign of very specialized functions, which he advised only two pages earlier.

This book has a whole chapter on naming conventions, using Hungarian. While this is not a cardinal sin, it should be noted that Microsoft has deprecated Hungarian in .NET. The inclusion in the book (chapter 4) suggests that the author has simply updated some of his material from his VB 6 book.

The suggestions for enumerators, commenting, looping and code flow are fairly decent and may help your coding efforts. Mr. Foxall falls a bit short on exception handling taking the tried and true route (see Richter's book for a better methodology). One item of contention is the idea that you handle unexpected as well as anticipated exceptions. In general, handle what you can and catch what you wish to log. Let the rest get handled on the UI to ensure the user does not get an ugly exception message. Most books on the market advocate catching everything, and then rethrowing the same error; what a waste of CPU cycles. In VB 6, you had to handle every exception, and pass it up the stack if you caught anything. In VB.NET, exception handling gives you the ability to catch those exceptions that you can handle or log for debugging a live application. Using finally, especially with objects with a dispose method, is a much better option.

I would agree with the 1 star reviewer on the coverage of modules before objects. Modules are a sloppy method of programming in Visual Basic .NET. They are placed in for VB 6 developers that miss their .bas files. On the other hand, this is not enough reason to kill the chapter, as some of the other advice in the chapter (2) is very useful.

A 2.5 rating would be a bit better as there is some bad advice in this book, but I have to choose between 2 and 3 and would rather give the author the benefit of the doubt. I hope Mr. Foxall has a chance to make a second version of the book that moves completely into the .NET paradigm, as it would be much more useful to developers.

4 of 4 people found the following review helpful
A Good Guide For All VB.NET Programmers 10 Mar 2004
By "lukeo" - Published on Amazon.com
Format:Paperback
This is a good book for both the experienced and beginning Visual Basic .NET programmer.

The purpose of this book is not to show you how to write a program in VB.NET but to provide a style template on how you should write a program; not only for readability but also for maintainability. To that end Foxall provides many examples of "bad" programming practices and styles along with a suggested "good" one.

The whole argument about using Hungarian notation (HN) or not is really irreverent. The very fact that this book exists and is hopefully read by more than a handful of people means more consistency and more error-free code.

One of the things I appreciate in this book is the use of color (various shades of blue-green) to mark things like comments in code, section headers, etc.

Overall this book was an easy read and can easily be grasped by entry level VB.NET programmers and functional enough for more experienced programmers to reference.

6 of 7 people found the following review helpful
Perfect for beginners and Managers alike 8 Nov 2002
By Edwin Luciano - Published on Amazon.com
Format:Paperback
With a new way of coding VB comes new ways of making the environment more effecient for programmers.

This book is full of good advice about programming practices in the .NET world. The advice is sound and could be even used as an intro since the author goes through great pains to make everthing clear while concise.

Should you follow all the advice? Depends on you. I don't think you should follow anybody's suggestions without some critical thought but the suggestions here are definitely worth taking a look at and debating. VB.NET ain't VB6 and you should not code and organize your code the way you did in VB6. Foxall gives us some good, pratical advice on how to code. More importantly, he gives great advice on how to organize code (something programmers tend to be bad at doing).

The only surprise was the recommendation to use Hungarian notation. I find it amusing that people get so hung up on Hungarian notation (I happen to like it but would not miss it if I never used it again). It's just a way to try to making code more readable when using local variables. If you think it gets in the way, then you shouldn't use it. Other than that confusing suggestion (MS says don't use Hungarian but you ARE free to use or not to use whatever convention you like) the book is flawless.

This is a book that every team doing VB.NET development should discuss if not follow. Standards are important, most of the software building cycle is in testing, debugging and modifying existing code. His standards are something to draw on as we come up with the best practices for our particular solutions.

Search Customer Reviews
Only search this product's reviews

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   


Listmania!

Create a Listmania! list

Look for similar items by category


Look for similar items by subject


Feedback