Coding in PPL: The Standards

Coding in PPL: The Standards


In this part of the assignment, you will be introduced to coding within PPL by being given a file to bring up to standards, comment, review, etc.

  1. Reading the Standards

    The coding standards are found in the PPL documentation:

    1. Go to the Standards Document.
    2. Go to the Procedures Document.
    3. Read the standards and procedures thoroughly. Everyone is expected to help maintain the standards and follow the procedures.
  2. Setting up vim for coding in PPL

    Hopefully after reading the standards you realize that vim how you have been using it will break standards, and would be a hassle to use for coding. If you don't believe me try coding hello world in c++. You will notice: 1) tabbing is definitely not spaces -- it's a tab character and is displayed as 8 spaces. 2) indenting is not automatically done as it is with nice IDEs in Windows. 3) You haven't used vim enough to be comfortable writing code....yet! :). So what is next is to set up settings to make it nice:

    1. Download this file.
    2. Save it in your home directory with the name .vimrc. Type mv ~/Downloads/vimrc.txt ~/.vimrc.
    3. View this file and look up what each of the settings are.

    Simple as that! Now try hello world again :P. Tabbing is correct and indentation automatic!