Closed Thread
Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 26

Thread: Coding style.

  1. #11
    Join Date
    Mar 2008
    Location
    The North Pole
    Posts
    13,174
    Blog Entries
    13
    Rep Power
    114

    Re: Coding style.

    I'm not making school projects - we've never been taught anything about programming at school - we do boring things. How many times do we need to know how to select cells in Excel?

    Quote Originally Posted by Jordan View Post
    Good members, like yourself, stick around and post for ages to come!
    Mr. Xav | Blog | Forums

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Location
    Advertising world
    Posts
    Many

     
  3. #12
    Chinmoy's Avatar
    Chinmoy is offline Programming Expert
    Join Date
    Feb 2008
    Location
    where heaven meets earth
    Posts
    410
    Rep Power
    18

    Re: Coding style.

    Ok. In which class are you? We learnt that in i think class 6! Also had basic alongwith...
    God is real... unless declared an integer

  4. #13
    Join Date
    Mar 2008
    Location
    The North Pole
    Posts
    13,174
    Blog Entries
    13
    Rep Power
    114

    Re: Coding style.

    Where are you based again? We've never had anything like programming.

    Quote Originally Posted by Jordan View Post
    Good members, like yourself, stick around and post for ages to come!
    Mr. Xav | Blog | Forums

  5. #14
    Chinmoy's Avatar
    Chinmoy is offline Programming Expert
    Join Date
    Feb 2008
    Location
    where heaven meets earth
    Posts
    410
    Rep Power
    18

    Re: Coding style.

    Im from India-one diverse country. You ll find the poorest to the richest people here, shortest mud houses to scyscrapers...everything. Gives you a better insight of the world...opens the mind.
    God is real... unless declared an integer

  6. #15
    Join Date
    Oct 2007
    Posts
    538
    Rep Power
    21

    Re: Coding style.

    Quote Originally Posted by Xav View Post
    Where are you based again? We've never had anything like programming.
    They did programming during A-Level computing when I did mine. In fact I wrote my A-Level project in Pascal.

  7. #16
    Chinmoy's Avatar
    Chinmoy is offline Programming Expert
    Join Date
    Feb 2008
    Location
    where heaven meets earth
    Posts
    410
    Rep Power
    18

    Re: Coding style.

    Ok, but here its' sheer competition. Before things are taught in school we all know it all..
    We had a prankster group in school, disturbet all the computer classes..
    Now college is a new life! Miss schools...
    God is real... unless declared an integer

  8. #17
    Join Date
    Mar 2008
    Posts
    7,145
    Rep Power
    86

    Re: Coding style.

    I like to indent all of my code so that it looks nice and doesn't run down the margin and is easy to read.

    In PHP, the output in view-source cannot scroll horizontally, it drives me absolutely nuts when it does that lol, so i have "\n" at th end of everything.

  9. #18
    Join Date
    Mar 2008
    Location
    The North Pole
    Posts
    13,174
    Blog Entries
    13
    Rep Power
    114

    Re: Coding style.

    I thought we fixed that?

    Quote Originally Posted by Jordan View Post
    Good members, like yourself, stick around and post for ages to come!
    Mr. Xav | Blog | Forums

  10. #19
    Join Date
    Mar 2008
    Posts
    7,145
    Rep Power
    86

    Re: Coding style.

    lol it still scrolls horizontally. i guess i just have a weird PHP style lol

    ----------------
    Now playing: Sum 41 - Summer
    via FoxyTunes

  11. #20
    Join Date
    Apr 2008
    Posts
    789
    Blog Entries
    5
    Rep Power
    24

    Re: Coding style.

    I never got taught programming in school; I just read books, and online guides, and man pages.
    My programming style is basically this:

    Code:
    int main (int argc, char ** argv){
        /*stuff*/ 
        exit(0);
    }
    In other words, for every { indent four spaces more, for every } indent four spaces less.
    In other languages, I use similar rules.

Closed Thread
Page 2 of 3 FirstFirst 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. p style border help!
    By j.lai in forum HTML Programming
    Replies: 5
    Last Post: 06-07-2010, 06:54 AM
  2. SEO - Google Style
    By BlaineSch in forum Search Engine Optimization
    Replies: 6
    Last Post: 07-28-2009, 01:03 AM
  3. How to change the style of the form ?
    By kresh7 in forum Visual Basic Programming
    Replies: 84
    Last Post: 08-17-2008, 06:18 PM
  4. Html with style
    By priorityone in forum HTML Programming
    Replies: 5
    Last Post: 01-29-2007, 08:50 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts