7
GOOD PRACTICES & STRATEGY

GOOD PRACTICES & STRATEGY. Functional Analysis & Approach Start from outcome onwards Simplicity Validity

Embed Size (px)

Citation preview

Page 1: GOOD PRACTICES & STRATEGY. Functional Analysis & Approach Start from outcome onwards Simplicity Validity

GOOD PRACTICES & STRATEGY

Page 2: GOOD PRACTICES & STRATEGY. Functional Analysis & Approach Start from outcome onwards Simplicity Validity

Functional Analysis & Approach

• Start from outcome onwards• Simplicity• Validity

Page 3: GOOD PRACTICES & STRATEGY. Functional Analysis & Approach Start from outcome onwards Simplicity Validity

Scope

• Scope of the code - always be aware of the outreach area

• Public / Private

Page 4: GOOD PRACTICES & STRATEGY. Functional Analysis & Approach Start from outcome onwards Simplicity Validity

Coding

• Carefully choose names - have a naming convention• Use Option Explicit• Commenting & Documenting• Use macro recorder to generate code• Structure and Indentation• Group similar code - use With • Use of Call method and blocks of code• Use pointers / bookmark• Input / Processing / Output approach• Don't overuse Select• Reusable modules with functions and code blocks• Reuse / Call code

Page 5: GOOD PRACTICES & STRATEGY. Functional Analysis & Approach Start from outcome onwards Simplicity Validity

User Interface

• Application.ScreenUpdating = False | True

• Application.DisplayAlerts = False | True

• Application.Cursor=xlWaitApplication.Cursor= xlDefault

• Navigation

Page 6: GOOD PRACTICES & STRATEGY. Functional Analysis & Approach Start from outcome onwards Simplicity Validity

Systematic error handling

Page 7: GOOD PRACTICES & STRATEGY. Functional Analysis & Approach Start from outcome onwards Simplicity Validity

Implement versioning