Best coding techniques

Home Forums C Programming Best coding techniques

This topic contains 0 replies, has 1 voice, and was last updated by  niklaesh 12 years, 7 months ago.

  • Author
  • #1929


    what do u think is the best coding technique we should adopt?
    I have two exampes here. please comment on them.

    Few things to consider here.
    1: initializing the variable and declaring at the same time.
    2: adding the curly braces after the expression
    3: indenting the code
    4: adding the curly braces at the new line.

    Please comment.

You must be logged in to reply to this topic.