Object naming conventions, Visual Basic Programming

Assignment Help:

The following table lists suggested conventions for objects you might encounter while programming VBScript.

Code Commenting Conventions

All process should begin with a brief comment defining what they do. This description must not defined the implementation details (how it does it) since these frequently change over time, resulting in needless comment maintenance work, or worse, erroneous comments. The code itself and any necessary inline comments specified the implementation.

Arguments passed to a process should be described while their reason is not obvious and while the process expects the arguments to be in a particular range. Return values for variables and functions that are modified through a procedure, especially through reference arguments, must also be defined at the starting of each procedure.

Procedure header comments have to include the following section headings. For instance, see the given table which described the section heading & the comment contents to be inserted whilst developing code.

Section Heading

Comment Contents

Purpose

What the process does (not how).

Assumptions

List of any external control, variable or other element which state affects this process.

Effects

List of the process's effect on each of external variable, control, or other element.

Inputs

Clarification of each argument which is not obvious. Each argument must be on a separate line with inline comments.

Return Values

Clarification of the value returned.


Related Discussions:- Object naming conventions

Device context - visual c++, DEVICE CONTEXT The device context provides...

DEVICE CONTEXT The device context provides the essential drawing tools and the platform to draw. It helps to draw the text, shapes, lines etc. To create the device context, the

Architecture of win 32 program, ARCHITECTURE OF WIN 32 PROGRAM   ...

ARCHITECTURE OF WIN 32 PROGRAM   Figure: working of Win 3 program The hardware events in the figure are the mouse associated events like the mouse move, left

ADO.net architecture, write a detailed account on ADO.net architecture.

write a detailed account on ADO.net architecture.

File system controls, FILE SYSTEM CONTROLS There are 3 file system cont...

FILE SYSTEM CONTROLS There are 3 file system controls as shown in figure. The drive list box, directory list box & the file list box. The drive list box control is used to exhi

Develop a web page for accepting information regarding stock, Develop a web...

Develop a web page that is used for accepting information regarding stocks. Make sure the form carry out the possible validations. The simple instance code below merely illustrates

Software with inappropriate behavior - basics of gui design, Software With ...

Software With Inappropriate Behavior: You would save a document; print it, and then you'll try to close it. The program will ask you if you want to save. This is because; the

Hungarian notation, Hungarian Notation: The Hungarian Notation was inv...

Hungarian Notation: The Hungarian Notation was invented by Charles Simonyi from Microsoft. It is a naming convention. It is a reminder of the type of a variable. The Handles h

Create an application, 1. Create a new solution file named Ch03HandsOnProje...

1. Create a new solution file named Ch03HandsOnProject1. 2. Rename the form and set the filename of the form to frmMain and frmMain.vb, respectively. 3. Set the appropriate p

Variable scope prefixes, Variable Scope Prefixes As script size rise, s...

Variable Scope Prefixes As script size rise, so does the value of being capable to rapidly differentiate the scope of variables. A one-letter scope prefix preceding type prefix

Programming project using straight-line method, Depreciation to a Salvage V...

Depreciation to a Salvage Value of 0.   For tax purposes an item may be depreciated over a period of several years, n. With the straight-line method of depreciation, each year th

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd