Script naming conventions

Attribute(s)

  • Naming convention

    Description

    There are a number of script naming conventions that should be adhered to. These are shown in the Details section below.

    Motivation

    By using a naming convention, System Developers create consistency and recognizability throughout the application and over projectteams.

    Standard naming conventions within script help designers to easily decipher what a block of code does.

    Example / Details

    The following naming conventions should be adhered to:


    Variables
    Names with an '_n' are in need of some further description for identification. This description should be short but give a clear indication as to the purpose of the variable.




    Examples


  • Niek T Kats 24 Oct 2008 04:34:49 AM CDTWe stopped using a prefix for Function or Subroutine in any LotusScript. Because the name of the function is clearly enough to understand what it is (function or sub) or dos (Get, Set, etc. ).


    LS_Naming_Conventions_01.jpg
    LS_Naming_Conventions_02.jpg
    LS_Naming_Conventions_03.jpg
    LS_Naming_Conventions_04.jpg