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.
  • 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
              • P Pierre Leclercq

                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 Offline
                L Offline
                leppie
                wrote on last edited by
                #26

                Pierre Leclercq wrote:

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

                I write 90% of my C# without side effects (excluding generated-code of course, that doesn't count). There is no reason why someone cannot do the same.

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

                N 1 Reply Last reply
                0
                • M Mustafa Ismail Mustafa

                  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 Offline
                  L Offline
                  leppie
                  wrote on last edited by
                  #27

                  His average estimate takes 8 times longer to complete than what he promises the manager/client and that is if it ever gets completed and not taken over by someone else.

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

                  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)))

                    P Offline
                    P Offline
                    Pete OHanlon
                    wrote on last edited by
                    #28

                    This seems perfectly reasonable to me. Put in a load of code like this, then seem like a god when you dramatically increase the performance of your application by removing these useless no-ops.

                    "WPF has many lovers. It's a veritable porn star!" - Josh Smith

                    As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

                    My blog | My articles | MoXAML PowerToys | Onyx

                    L 1 Reply Last reply
                    0
                    • N Nagy Vilmos

                      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 Offline
                      M Offline
                      Mustafa Ismail Mustafa
                      wrote on last edited by
                      #29

                      Nagy Vilmos wrote:

                      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

                      :laugh::laugh: Sorry! That was just insanely funny! I know how you feel, I was like that 1.5 years ago and then I left becoming independent.

                      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[^]?

                      N 1 Reply Last reply
                      0
                      • L leppie

                        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 Offline
                        N Offline
                        Nagy Vilmos
                        wrote on last edited by
                        #30

                        0. Complain that you have headache. 1. Tell rfwstl that you're going to get some fresh air. 2. Mix the fresh air with a large GnT. 3. Rinse, dry, repeat.


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

                        L B 2 Replies Last reply
                        0
                        • P Pete OHanlon

                          This seems perfectly reasonable to me. Put in a load of code like this, then seem like a god when you dramatically increase the performance of your application by removing these useless no-ops.

                          "WPF has many lovers. It's a veritable porn star!" - Josh Smith

                          As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

                          My blog | My articles | MoXAML PowerToys | Onyx

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

                          Pete O'Hanlon wrote:

                          This seems perfectly reasonable to me. Put in a load of code like this, then seem like a god when you dramatically increase the performance of your application by removing these useless no-ops.

                          What do you think I do when reviewing his code? :)

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

                          1 Reply Last reply
                          0
                          • L leppie

                            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

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

                            Hmmm... What is the point of your post? Do you mean Marc is a pensioner? How does that relate to AOP or side-effects?

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

                            L 2 Replies Last reply
                            0
                            • L leppie

                              Pierre Leclercq wrote:

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

                              I write 90% of my C# without side effects (excluding generated-code of course, that doesn't count). There is no reason why someone cannot do the same.

                              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
                              #33

                              leppie wrote:

                              is no reason why someone cannot do the same.

                              There is a good reason. HINT: CAT scan


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

                              1 Reply Last reply
                              0
                              • M Mustafa Ismail Mustafa

                                Nagy Vilmos wrote:

                                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

                                :laugh::laugh: Sorry! That was just insanely funny! I know how you feel, I was like that 1.5 years ago and then I left becoming independent.

                                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[^]?

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

                                You can measure how far I'll let them push me with a micrometer


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

                                1 Reply Last reply
                                0
                                • N Nagy Vilmos

                                  0. Complain that you have headache. 1. Tell rfwstl that you're going to get some fresh air. 2. Mix the fresh air with a large GnT. 3. Rinse, dry, repeat.


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

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

                                  Or just 42: Get a case of beer. (24 of them, coincidence, I think not, when you drunk they look the same)

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

                                  R 1 Reply Last reply
                                  0
                                  • G Gary Kirkham

                                    What's wrong with it? Useless isn't the same as wrong.

                                    Gary Kirkham Forever Forgiven and Alive in the Spirit The men said to them, "Why do you seek the living One among the dead? He is not here, but He has risen." Me blog, You read

                                    O Offline
                                    O Offline
                                    Oakman
                                    wrote on last edited by
                                    #36

                                    Gary Kirkham wrote:

                                    Useless isn't the same as wrong.

                                    Well, it would be wrong if it was written in VB.NET. But since C# programmers can do no wrong. . .

                                    Jon "You don't respect those people very much, because you're young and arrogant. But I don't respect them very much either, because I'm old and wise." ~ Neal Stephenson, "Snow Crash" Soap Box 1.0: the first, the original, reborn troll-less

                                    G 1 Reply Last reply
                                    0
                                    • P Pierre Leclercq

                                      Hmmm... What is the point of your post? Do you mean Marc is a pensioner? How does that relate to AOP or side-effects?

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

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

                                      Pierre Leclercq wrote:

                                      Hmmm... What is the point of your post? Do you mean Marc is a pensioner? How does that relate to AOP or side-effects?

                                      If you read the tiny text, you would see it was a joke. Most OAP's are way more predictable than my 'team leader'.

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

                                      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)))

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

                                        Well personally I'd be having a word with management. Going back to the customer and re-drafting the spec will cost face, but not nearly as much face as a product that doesn't work, is never fully delivered, is full of holes and doesn't deliver on promises.

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

                                        N L 2 Replies Last reply
                                        0
                                        • P Pierre Leclercq

                                          Hmmm... What is the point of your post? Do you mean Marc is a pensioner? How does that relate to AOP or side-effects?

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

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

                                          Added a joke icon, just in case it was not understood. Sorry for any inconvenience.

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

                                          1 Reply 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