Code Formating Featured

Jul 16 2015 Be the first to comment!
Rate this item
(1 Vote)

Yeah. Let's spend half of the day trying to read a messy looking code.

C-alike / ECMA Scipr based languages.

 

Spacing

  • the tabulator took 4 spaces.
  • there is a spaces between opening and closing bracelet of arguments of a function.
  • there is no space between opening and closing bracelet of arguments of a function when there is none arguments.
  • there is  space between operations and assignments.

 

Alignments

  • all declaration of variables shall be made on top of the body or class ( if possible ).
  • vertically the declarations shall be aligned by the longest of the types or variable ( ActionScript alike languages ).

 

 

 

Read 2076 times Last modified on Aug 07 2015
Yordan Yanakiev

Yeah. That's me.

Leave a comment

Make sure you enter the (*) required information where indicated. HTML code is not allowed.

K2 Search

K2 Categories

    K2 Content