Tip for coders

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • redwhiteandblue
    Bollocks
    • Jun 2007
    • 2785

    #1

    Tech Tip for coders

    When running a split test on some coding changes you've made, remember to also take out the if/else block for the last code change you tested. Otherwise you end up throwing away a week's worth of data because you've been testing the WRONG FUCKING THING!!!!
    Interserver unmanaged AMD Ryzen servers from $73.00
  • sarettah
    see you later, I'm gone
    • Oct 2002
    • 14336

    #2
    Originally posted by redwhiteandblue
    When running a split test on some coding changes you've made, remember to also take out the if/else block for the last code change you tested. Otherwise you end up throwing away a week's worth of data because you've been testing the WRONG FUCKING THING!!!!
    Yeah, I hate when I do that

    .
    All cookies cleared!

    Comment

    • pornguy
      Too lazy to set a custom title
      • Mar 2003
      • 62910

      #3
      I left an if/else in one time.

      Bitch took my house.
      PornGuy skype me pornguy_epic

      AmateurDough The Hottes Shemales online!
      TChicks.com | Angeles Cid | Mariana Cordoba | MAILERS WELCOME!

      Comment

      • Klen
        • Aug 2006
        • 32234

        #4
        Dont think i ever use if else for testing purposes.

        Comment

        • redwhiteandblue
          Bollocks
          • Jun 2007
          • 2785

          #5
          Originally posted by Klen
          Dont think i ever use if else for testing purposes.
          This advice won't be of any use to you then.
          Interserver unmanaged AMD Ryzen servers from $73.00

          Comment

          • CaptainHowdy
            Too lazy to set a custom title
            • Dec 2004
            • 94052

            #6
            Another tip for coders: get some sun.

            Comment

            • 8pt-buck
              So Fucking Banned
              • Aug 2013
              • 4011

              #7
              "else" really isn't needed after every "if" ..
              I can give you a bunch of examples ...

              Personally.. it would make a mess of the code to write to write a empty else after every if.
              You don't always need a final else ...

              Comment

              • sarettah
                see you later, I'm gone
                • Oct 2002
                • 14336

                #8
                Originally posted by 8pt-buck
                "else" really isn't needed after every "if" ..
                I can give you a bunch of examples ...

                Personally.. it would make a mess of the code to write to write a empty else after every if.
                You don't always need a final else ...

                I think most programmers are well aware of that but it is worth repeating for any newbs out there.

                With that said, many of us refer to the conditional structure as "if then else" whether there is a literal else indicated or not. Not putting an else says to do nothing:

                if this condition then do this else do nothing

                is the same as

                if this condition then do this

                .
                All cookies cleared!

                Comment

                • k33n
                  Confirmed User
                  • Feb 2009
                  • 201

                  #9
                  Also don't change permalinks when G indexed 30k pages

                  Comment

                  • Klen
                    • Aug 2006
                    • 32234

                    #10
                    Originally posted by 8pt-buck
                    "else" really isn't needed after every "if" ..
                    I can give you a bunch of examples ...

                    Personally.. it would make a mess of the code to write to write a empty else after every if.
                    You don't always need a final else ...
                    Old habits die hard.

                    Comment

                    • just a punk
                      So fuckin' bored
                      • Jun 2003
                      • 32385

                      #11
                      Don't understand what you all are talking about, but ok...
                      Obey the Cowgod

                      Comment

                      • plsureking
                        bored
                        • Aug 2003
                        • 4914

                        #12


                        #
                        PornCMS / low cost paysite management with hosting

                        Comment

                        Working...