Good Programming Practice?

Discussion in 'Technology' started by trance_fan, May 23, 2004.

Users Viewing Thread (Users: 0, Guests: 0)

  1. trance_fan

    trance_fan Registered User

    Joined:
    Nov 7, 2002
    Messages:
    9,079
    Likes Received:
    0
    Good Programming Practice?

    OK so one for the geeks, im just thinking of good programming practice techniques for revision.

    It's probs stuff I already do but the only one that really springs to mind is indentation of code so that its easy to read and maintain at a later date.

    Obviously there are alot more so some help would be appreciated :D
  2. 1615634792921.png
  3. Sleepy

    Sleepy Registered User

    Joined:
    Mar 15, 2002
    Messages:
    16,777
    Likes Received:
    0
    Comments :up:
  4. trance_fan

    trance_fan Registered User

    Joined:
    Nov 7, 2002
    Messages:
    9,079
    Likes Received:
    0
    ah of course :D

    cheers :p
  5. Sleepy

    Sleepy Registered User

    Joined:
    Mar 15, 2002
    Messages:
    16,777
    Likes Received:
    0
    nowt worse than tryin to figure out wtf sum1 has dun to the code...comments please!!!!!!

    i always forget personally tho just wish other ppl wudnt :p
  6. Guest

    ending statements >>>>>>>>;

    always forgeting that little bastard in Java!! J Creator goes mental!!
  7. crasherkid

    crasherkid Registered User

    Joined:
    Dec 21, 2001
    Messages:
    13,065
    Likes Received:
    0
    program my flash site.. :up:
  8. Mr. Revel

    Mr. Revel Registered User

    Joined:
    Nov 12, 2001
    Messages:
    9,894
    Likes Received:
    0
    good naming conventions. small letter for the first work, capital for the second etc.... public class bigCheese

    Sensible names for variables, classes etc. Improves redability of code.

    Make variables private where possible. To help ensure integrity.

    loads of comments.

    Indentation.
  9. trance_fan

    trance_fan Registered User

    Joined:
    Nov 7, 2002
    Messages:
    9,079
    Likes Received:
    0
    cheers guys, i'll bash all that down in my exam today :p

    Revel I assume you mean a private variable in terms of that it only applies to that function? (I know these as Local variables, as opposed to global variables) Thats been hammered into us, its considered shit to do otherwise lol

    I do all that anyway like, just forgot I was doing it :lol:

    Cheers again :up:
  10. trance_fan

    trance_fan Registered User

    Joined:
    Nov 7, 2002
    Messages:
    9,079
    Likes Received:
    0
    cheers guys, i'll bash all that down in my exam today :p

    Revel I assume you mean a private variable in terms of that it only applies to that function? (I know these as Local variables, as opposed to global variables) Thats been hammered into us, its considered shit to do otherwise lol

    I do all that anyway like, just forgot I was doing it :lol:

    Cheers again :up:

Share This Page