Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. I dont feel like going back to work...

I dont feel like going back to work...

Scheduled Pinned Locked Moved The Lounge
phpvisual-studiocomcollaborationbeta-testing
62 Posts 24 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • 1 1 21 Gigawatts

    Time to go crazy upside his ass Leppie blood. Giv' dat ho a biatch slapping boyie.... oh, sorry, had some rap music on in da the background. Ahem. Politely remind him that he's a tw*t.

    "...great scott!" Dilbert: Aren't all meetings like this... Richard Dawkins: "What if you're wrong?"

    N Offline
    N Offline
    Nagy Vilmos
    wrote on last edited by
    #6

    1.21 Gigawatts wrote:

    Politely remind him that he's a tw*t.

    How's that going to work? The correct approach is: "Oy! Gonad chops! Stop #slap# being #slap# such #slap# a #slap# tw*tting #slap# tw*t #slap# !!" ...and breath.


    Panic, Chaos, Destruction. My work here is done.

    1 D 2 Replies Last reply
    0
    • I Ian Shlasko

      But where's the line between useless and wrong? I mean, you start here:

      a.SomeProp = a.SomeProp;

      Then here...

      Debug.Assert(a.SomeProp == a.SomeProp);

      And somehow you end up here...

      while (true)
      {
      if ((a.SomeProp == a.SomeProp) == true)
      {
      a.SomeProp = a.SomeProp;
      break;
      }
      }
      return (a.SomeProp == a.SomeProp);

      And then it starts to get a little weird.

      Proud to have finally moved to the A-Ark. Which one are you in? Developer, Author (Guardians of Xen)

      D Offline
      D Offline
      Dave Parker
      wrote on last edited by
      #7

      lol maybe the compiler optimizes that away tho? still pointless, but amusing at the same time. Was it auto-generated?

      1 Reply Last reply
      0
      • N Nagy Vilmos

        1.21 Gigawatts wrote:

        Politely remind him that he's a tw*t.

        How's that going to work? The correct approach is: "Oy! Gonad chops! Stop #slap# being #slap# such #slap# a #slap# tw*tting #slap# tw*t #slap# !!" ...and breath.


        Panic, Chaos, Destruction. My work here is done.

        1 Offline
        1 Offline
        1 21 Gigawatts
        wrote on last edited by
        #8

        Nagy Vilmos wrote:

        The correct approach is:

        Aahhh, I see you've dished out a few 'get real' beatings seminars before I must learn...

        "...great scott!" Dilbert: Aren't all meetings like this... Richard Dawkins: "What if you're wrong?"

        1 Reply Last reply
        0
        • I Ian Shlasko

          But where's the line between useless and wrong? I mean, you start here:

          a.SomeProp = a.SomeProp;

          Then here...

          Debug.Assert(a.SomeProp == a.SomeProp);

          And somehow you end up here...

          while (true)
          {
          if ((a.SomeProp == a.SomeProp) == true)
          {
          a.SomeProp = a.SomeProp;
          break;
          }
          }
          return (a.SomeProp == a.SomeProp);

          And then it starts to get a little weird.

          Proud to have finally moved to the A-Ark. Which one are you in? Developer, Author (Guardians of Xen)

          L Offline
          L Offline
          leppie
          wrote on last edited by
          #9

          Ian Shlasko wrote:

          And then it starts to get a little weird.

          Classic :) You should see the number of side-effects this guy does. It's insane!

          xacc.ide
          IronScheme - 1.0 beta 4 - out now!
          ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x)))

          1 Reply Last reply
          0
          • B BonshatS

            The good old reflexive property. Maybe he just wanted to be sure it was initialized.

            L Offline
            L Offline
            leppie
            wrote on last edited by
            #10

            BonshatS wrote:

            Maybe he just wanted to be sure it was initialized.

            This is him exactly! http://www.geekherocomic.com/2009/07/27/common-pitfalls-initialize-your-variables/[^]

            xacc.ide
            IronScheme - 1.0 beta 4 - out now!
            ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x)))

            P 1 Reply Last reply
            0
            • L leppie

              as my 'team leader' does not why the following wrong:

              a.SomeProp = a.SomeProp; // no funny side-effects, plain old property

              And then he asked me not to criticize him... :wtf:

              xacc.ide
              IronScheme - 1.0 beta 4 - out now!
              ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x)))

              M Offline
              M Offline
              martin_hughes
              wrote on last edited by
              #11

              What I don't get is, given your technical excellence and all that jazz, why you aren't the team leader? Mumbler? Strange body odour? Shy? Unwilling/unable to shout at management types and make demands?

              print "http://www.codeproject.com".toURL().text Ain't that Groovy?

              P 1 L N 4 Replies Last reply
              0
              • L leppie

                BonshatS wrote:

                Maybe he just wanted to be sure it was initialized.

                This is him exactly! http://www.geekherocomic.com/2009/07/27/common-pitfalls-initialize-your-variables/[^]

                xacc.ide
                IronScheme - 1.0 beta 4 - out now!
                ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x)))

                P Offline
                P Offline
                Pierre Leclercq
                wrote on last edited by
                #12

                :-D

                You can't turn lead into gold, unless you've built yourself a nuclear plant.

                1 Reply Last reply
                0
                • M martin_hughes

                  What I don't get is, given your technical excellence and all that jazz, why you aren't the team leader? Mumbler? Strange body odour? Shy? Unwilling/unable to shout at management types and make demands?

                  print "http://www.codeproject.com".toURL().text Ain't that Groovy?

                  P Offline
                  P Offline
                  Pierre Leclercq
                  wrote on last edited by
                  #13

                  hehe... http://en.wikipedia.org/wiki/Peter_principle[^] arf: http://en.wikipedia.org/wiki/Dilbert_Principle[^]

                  You can't turn lead into gold, unless you've built yourself a nuclear plant.

                  1 Reply Last reply
                  0
                  • L leppie

                    as my 'team leader' does not why the following wrong:

                    a.SomeProp = a.SomeProp; // no funny side-effects, plain old property

                    And then he asked me not to criticize him... :wtf:

                    xacc.ide
                    IronScheme - 1.0 beta 4 - out now!
                    ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x)))

                    R Offline
                    R Offline
                    Rama Krishna Vavilala
                    wrote on last edited by
                    #14

                    Early in my career, I once made a mistake of commenting a line of code, that broke the whole application. Here is how it looked like:-

                    void BalanceInvoice(int x, int y , int z)
                    {
                    MyInvoiceObject* p = new MyInvoiceObject(x, y, z);
                    delete p;

                    ... Do other stuff that ran 200 lines ...
                    }

                    I commented the first line thinking it was useless. Turns out that the constructor and only the constructor did the main work. I hope your team leader does not write like that.

                    public object SomeProp
                    {
                    get
                    {
                    return 0;
                    }
                    set
                    {
                    ... Connect to database ...
                    ... Call a web service ...
                    ... Do all the other important stuff required in the application ...
                    }
                    }

                    L 1 Reply Last reply
                    0
                    • M martin_hughes

                      What I don't get is, given your technical excellence and all that jazz, why you aren't the team leader? Mumbler? Strange body odour? Shy? Unwilling/unable to shout at management types and make demands?

                      print "http://www.codeproject.com".toURL().text Ain't that Groovy?

                      1 Offline
                      1 Offline
                      1 21 Gigawatts
                      wrote on last edited by
                      #15

                      martin_hughes wrote:

                      why you aren't the team leader

                      Probably because of his technical excellence.

                      "...great scott!" Dilbert: Aren't all meetings like this... Richard Dawkins: "What if you're wrong?"

                      1 Reply Last reply
                      0
                      • M martin_hughes

                        What I don't get is, given your technical excellence and all that jazz, why you aren't the team leader? Mumbler? Strange body odour? Shy? Unwilling/unable to shout at management types and make demands?

                        print "http://www.codeproject.com".toURL().text Ain't that Groovy?

                        L Offline
                        L Offline
                        leppie
                        wrote on last edited by
                        #16

                        Because he was the clown that wrote up a quarter-assed client functional requirement spec. It lacks about 70% of the requirements. And somewhere inside his skull that info still lives (or rots). Please note, this 'client spec' is the only thing our team has to go on, and consistently the client complains about missing functionality. Professionally, I have been trying to avoid taking responsibility for someone else's fuckups, but it seems there is no other way now. Bottom line is, I dont wanna do anything, while he has write-access to the code. he has been spending the last 6 weeks working on something that should have taken 3 days max, given most of the code was copied from somewhere else on the internet (like pretty much all of his code, copies of other people's code, and mine...).

                        xacc.ide
                        IronScheme - 1.0 beta 4 - out now!
                        ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x)))

                        N M M 3 Replies Last reply
                        0
                        • R Rama Krishna Vavilala

                          Early in my career, I once made a mistake of commenting a line of code, that broke the whole application. Here is how it looked like:-

                          void BalanceInvoice(int x, int y , int z)
                          {
                          MyInvoiceObject* p = new MyInvoiceObject(x, y, z);
                          delete p;

                          ... Do other stuff that ran 200 lines ...
                          }

                          I commented the first line thinking it was useless. Turns out that the constructor and only the constructor did the main work. I hope your team leader does not write like that.

                          public object SomeProp
                          {
                          get
                          {
                          return 0;
                          }
                          set
                          {
                          ... Connect to database ...
                          ... Call a web service ...
                          ... Do all the other important stuff required in the application ...
                          }
                          }

                          L Offline
                          L Offline
                          leppie
                          wrote on last edited by
                          #17

                          Side-effects are evil. Learn to appreciate that, and code becomes dead simple. I can code fresh code faster than trying to understand what his code is attempting to do.

                          xacc.ide
                          IronScheme - 1.0 beta 4 - out now!
                          ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x)))

                          R M L 3 Replies Last reply
                          0
                          • L leppie

                            Side-effects are evil. Learn to appreciate that, and code becomes dead simple. I can code fresh code faster than trying to understand what his code is attempting to do.

                            xacc.ide
                            IronScheme - 1.0 beta 4 - out now!
                            ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x)))

                            R Offline
                            R Offline
                            Rama Krishna Vavilala
                            wrote on last edited by
                            #18

                            leppie wrote:

                            Side-effects are evil.

                            Yes as I said I broke the main logic an entire application commenting out what I thought was useless.

                            P 1 Reply Last reply
                            0
                            • L leppie

                              Side-effects are evil. Learn to appreciate that, and code becomes dead simple. I can code fresh code faster than trying to understand what his code is attempting to do.

                              xacc.ide
                              IronScheme - 1.0 beta 4 - out now!
                              ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x)))

                              M Offline
                              M Offline
                              Marc Clifton
                              wrote on last edited by
                              #19

                              leppie wrote:

                              Side-effects are evil. Learn to appreciate that, and code becomes dead simple.

                              But isn't that the worst thing about AOP, that you don't know what side effects might be introduced? Marc

                              Will work for food. Interacx

                              I'm not overthinking the problem, I just felt like I needed a small, unimportant, uninteresting rant! - Martin Hart Turner

                              P L B M 4 Replies Last reply
                              0
                              • R Rama Krishna Vavilala

                                leppie wrote:

                                Side-effects are evil.

                                Yes as I said I broke the main logic an entire application commenting out what I thought was useless.

                                P Offline
                                P Offline
                                Pierre Leclercq
                                wrote on last edited by
                                #20

                                But do not worry, there are cases when it is legitimate to comment out some unused/unnecessary code. But what your post shows, the worst the code is, the harder to choose what to comment out.

                                You can't turn lead into gold, unless you've built yourself a nuclear plant.

                                1 Reply Last reply
                                0
                                • M Marc Clifton

                                  leppie wrote:

                                  Side-effects are evil. Learn to appreciate that, and code becomes dead simple.

                                  But isn't that the worst thing about AOP, that you don't know what side effects might be introduced? Marc

                                  Will work for food. Interacx

                                  I'm not overthinking the problem, I just felt like I needed a small, unimportant, uninteresting rant! - Martin Hart Turner

                                  P Offline
                                  P Offline
                                  Pierre Leclercq
                                  wrote on last edited by
                                  #21

                                  I always wonder why clean functional programming is not more common?

                                  You can't turn lead into gold, unless you've built yourself a nuclear plant.

                                  L 1 Reply Last reply
                                  0
                                  • L leppie

                                    Because he was the clown that wrote up a quarter-assed client functional requirement spec. It lacks about 70% of the requirements. And somewhere inside his skull that info still lives (or rots). Please note, this 'client spec' is the only thing our team has to go on, and consistently the client complains about missing functionality. Professionally, I have been trying to avoid taking responsibility for someone else's fuckups, but it seems there is no other way now. Bottom line is, I dont wanna do anything, while he has write-access to the code. he has been spending the last 6 weeks working on something that should have taken 3 days max, given most of the code was copied from somewhere else on the internet (like pretty much all of his code, copies of other people's code, and mine...).

                                    xacc.ide
                                    IronScheme - 1.0 beta 4 - out now!
                                    ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x)))

                                    N Offline
                                    N Offline
                                    Nagy Vilmos
                                    wrote on last edited by
                                    #22

                                    I wondered were my boss had got to! But as am in a kind mood, you can keep him. ;)


                                    Panic, Chaos, Destruction. My work here is done.

                                    B 1 Reply Last reply
                                    0
                                    • M Marc Clifton

                                      leppie wrote:

                                      Side-effects are evil. Learn to appreciate that, and code becomes dead simple.

                                      But isn't that the worst thing about AOP, that you don't know what side effects might be introduced? Marc

                                      Will work for food. Interacx

                                      I'm not overthinking the problem, I just felt like I needed a small, unimportant, uninteresting rant! - Martin Hart Turner

                                      L Offline
                                      L Offline
                                      leppie
                                      wrote on last edited by
                                      #23

                                      Marc Clifton wrote:

                                      But isn't that the worst thing about AOP, that you don't know what side effects might be introduced?

                                      That's the problem with age old pensioners, very unpredictable :) (sorry, im trying to cheer myself up)

                                      xacc.ide
                                      IronScheme - 1.0 beta 4 - out now!
                                      ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x)))

                                      modified on Tuesday, July 28, 2009 11:02 AM

                                      N P 2 Replies Last reply
                                      0
                                      • L leppie

                                        Because he was the clown that wrote up a quarter-assed client functional requirement spec. It lacks about 70% of the requirements. And somewhere inside his skull that info still lives (or rots). Please note, this 'client spec' is the only thing our team has to go on, and consistently the client complains about missing functionality. Professionally, I have been trying to avoid taking responsibility for someone else's fuckups, but it seems there is no other way now. Bottom line is, I dont wanna do anything, while he has write-access to the code. he has been spending the last 6 weeks working on something that should have taken 3 days max, given most of the code was copied from somewhere else on the internet (like pretty much all of his code, copies of other people's code, and mine...).

                                        xacc.ide
                                        IronScheme - 1.0 beta 4 - out now!
                                        ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x)))

                                        M Offline
                                        M Offline
                                        Mustafa Ismail Mustafa
                                        wrote on last edited by
                                        #24

                                        leppie wrote:

                                        he has been spending the last 6 weeks working on something that should have taken 3 days max

                                        Holy Zucchini! I'd have certainly rocked the boat...

                                        If the post was helpful, please vote, eh! Current activities: Book: Devils by Fyodor Dostoyevsky Project: Hospital Automation, final stage Learning: Image analysis, LINQ Now and forever, defiant to the end. What is Multiple Sclerosis[^]?

                                        L 1 Reply Last reply
                                        0
                                        • M martin_hughes

                                          What I don't get is, given your technical excellence and all that jazz, why you aren't the team leader? Mumbler? Strange body odour? Shy? Unwilling/unable to shout at management types and make demands?

                                          print "http://www.codeproject.com".toURL().text Ain't that Groovy?

                                          N Offline
                                          N Offline
                                          Nagy Vilmos
                                          wrote on last edited by
                                          #25

                                          martin_hughes wrote:

                                          technical excellence and all that jazz

                                          by the bucket full

                                          martin_hughes wrote:

                                          Mumbler?

                                          no

                                          martin_hughes wrote:

                                          Strange body odour?

                                          no

                                          martin_hughes wrote:

                                          Shy?

                                          no

                                          martin_hughes wrote:

                                          Unwilling/unable to shout at management types and make demands?

                                          no

                                          martin_hughes wrote:

                                          team leader

                                          apparently not. I'm a 'technical lead' which means my TL is half my age with 1/4 my knowledge and and 1/8 my experience. But I'm not bitter :mad:


                                          Panic, Chaos, Destruction. My work here is done.

                                          M B 2 Replies Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups