Thread: Code Style

Page 1 of 4 123 ... LastLast
Results 1 to 10 of 34
  1. #1 Code Style 
    Registered Member
    Join Date
    Feb 2014
    Posts
    77
    Thanks given
    21
    Thanks received
    30
    Rep Power
    22
    Which do you prefer? If you have any insight on your choice please feel free to explain!

    A.
    Code:
    public class Main {
        
        public static void main(String[] args) {
            // code stuff
        }
        
    }
    B.
    Code:
    public class Main 
    {
    
        public static void main(String[] args) 
        {
            // code stuff
        }
    
    }
    EDIT: I forgot to add the poll and it won't let me. Just post your thoughts down below.
    Reply With Quote  
     

  2. #2  
    anInt69

    Max _'s Avatar
    Join Date
    Feb 2012
    Age
    26
    Posts
    1,801
    Thanks given
    426
    Thanks received
    727
    Rep Power
    599
    I always go with A, B just doesn't look right.
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    L O S E Y O U R S E L F
    Format's Avatar
    Join Date
    Aug 2013
    Posts
    2,311
    Thanks given
    1,131
    Thanks received
    1,461
    Rep Power
    5000
    I always do A. On the odd occasion I will sometimes do B.


    Reply With Quote  
     

  5. #4  
    Banned

    Join Date
    Aug 2007
    Posts
    1,666
    Thanks given
    10
    Thanks received
    138
    Rep Power
    0
    A

    atlst4
    Reply With Quote  
     

  6. #5  
    Registered Member
    hc747's Avatar
    Join Date
    Dec 2013
    Age
    26
    Posts
    1,474
    Thanks given
    3,312
    Thanks received
    691
    Rep Power
    1098
    Quote Originally Posted by MaxiiPad View Post
    I always go with A, B just doesn't look right.
    Ditto.
    Reply With Quote  
     

  7. #6  


    RS Wiki's Avatar
    Join Date
    Mar 2011
    Age
    29
    Posts
    9,688
    Thanks given
    1,752
    Thanks received
    3,103
    Rep Power
    5000
    B cause I can.
    All the best,
    Wiki




    coming soon
    Reply With Quote  
     

  8. #7  
    Registered Member Blackmoon's Avatar
    Join Date
    Jun 2014
    Posts
    633
    Thanks given
    47
    Thanks received
    107
    Rep Power
    42
    A.

    B looks so wierd.

    It all depends on how you learn.
    Reply With Quote  
     

  9. #8  
    Registered Member
    Zivik's Avatar
    Join Date
    Oct 2007
    Age
    28
    Posts
    4,421
    Thanks given
    891
    Thanks received
    1,527
    Rep Power
    3285
    Normally do A but there are times for some reason I switch to B.
    Reply With Quote  
     

  10. #9  
    Everybody needs a bosom for a pillow
    Hyperon's Avatar
    Join Date
    Nov 2014
    Age
    34
    Posts
    108
    Thanks given
    18
    Thanks received
    22
    Rep Power
    11
    A looks more appealing to me.
    RS: DayZ Mod development
    For the best old school vibe #289: http://classic-live.net/
    Reply With Quote  
     

  11. #10  
    Registered Member
    Join Date
    Feb 2014
    Posts
    77
    Thanks given
    21
    Thanks received
    30
    Rep Power
    22
    Quote Originally Posted by Belz View Post
    A for Java, B for C#, because that's the conventions for those languages.
    I couldn't find anything on either A or B being conventions for Java.
    Reply With Quote  
     

Page 1 of 4 123 ... LastLast

Thread Information
Users Browsing this Thread

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


User Tag List

Similar Threads

  1. Replies: 3
    Last Post: 01-15-2014, 05:14 AM
  2. new sig, tryed another style.
    By Saint in forum Showcase
    Replies: 4
    Last Post: 06-02-2007, 12:40 AM
  3. Pixel art. H and A Rs style :P
    By haz425 in forum Showcase
    Replies: 3
    Last Post: 05-27-2007, 11:02 PM
  4. [TUT] - New Style of Userbar!
    By 007 Snoop in forum Tutorials
    Replies: 7
    Last Post: 04-29-2007, 09:44 PM
  5. [IEM - 1] The Different Gloss Styles
    By Morsolo in forum Tutorials
    Replies: 12
    Last Post: 04-07-2007, 09:29 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •