• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

sockiepostcount = sockiepostcount + 1

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    sockiepostcount = sockiepostcount + 1

    Just me?

    #2
    Originally posted by Pondlife View Post
    Just me?
    sockiepostcount ++;

    Knock first as I might be balancing my chakras.

    Comment


      #3
      Originally posted by suityou01 View Post
      sockiepostcount ++;

      Should be in camel case:

      SockiePostCount++;
      Coffee's for closers

      Comment


        #4
        should be ++sockiePostCount in my book.
        Originally posted by MaryPoppins
        I'd still not breastfeed a nazi
        Originally posted by vetran
        Urine is quite nourishing

        Comment


          #5
          Originally posted by Spacecadet View Post
          Should be in camel case:

          SockiePostCount++;
          Java nonsense
          Knock first as I might be balancing my chakras.

          Comment


            #6
            Originally posted by Spacecadet View Post
            Should be in camel case:

            SockiePostCount++;
            No it shouldn't. Only functions should start with capital letters. Variables and objects should be camel case bar the first character so

            sockiePostCount++;

            Oh the joys of best practice coding standards. A topic that will always start an argument between any two developers.
            merely at clientco for the entertainment

            Comment


              #7
              Originally posted by Spacecadet View Post
              Should be in camel case:

              SockiePostCount++;
              That's Pascal case.

              Camel Case is

              sockiePostCount++;

              Comment


                #8
                Originally posted by mudskipper View Post
                That's Pascal case.

                Camel Case is

                sockiePostCount++;
                Debatable - there is no definitive view on whether camel case words should start with a capital or not
                Coffee's for closers

                Comment


                  #9
                  In PHP it'd be sckie_postCount.

                  Comment


                    #10
                    m_szSockiePostCount?
                    Originally posted by MaryPoppins
                    I'd still not breastfeed a nazi
                    Originally posted by vetran
                    Urine is quite nourishing

                    Comment

                    Working...
                    X