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. Smart programmers

Smart programmers

Scheduled Pinned Locked Moved The Lounge
c++rubycomarchitecture
48 Posts 16 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 Rajesh R Subramanian

    So, after I've joined my new employer, they welcomed me with an incomplete mawnnster framework, written in C++. No documentation whatsoever, multi threaded, expected to run on more than one operating system, friendly variable names like s, t (this is a string), pp1, pp2, etc., A complaint was that the connection drops out exactly at 12 in the night. Half a day is gone and then I find this gem comment with relevant code:

    //A day has passed by... this must be definitely an invalid session
    if(m_thisDay != date.T_day)
    Disconnect(SESSION_PREV, FORCE);

    And this is just the beginning :((

    Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP

    D Offline
    D Offline
    Declan Bright
    wrote on last edited by
    #5

    Posting this sort of thing to http://thedailywtf.com/[^] always helps to relieve the pain... ;P

    Declan Bright www.declanbright.com

    R 1 Reply Last reply
    0
    • R Rajesh R Subramanian

      So, after I've joined my new employer, they welcomed me with an incomplete mawnnster framework, written in C++. No documentation whatsoever, multi threaded, expected to run on more than one operating system, friendly variable names like s, t (this is a string), pp1, pp2, etc., A complaint was that the connection drops out exactly at 12 in the night. Half a day is gone and then I find this gem comment with relevant code:

      //A day has passed by... this must be definitely an invalid session
      if(m_thisDay != date.T_day)
      Disconnect(SESSION_PREV, FORCE);

      And this is just the beginning :((

      Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP

      N Offline
      N Offline
      NormDroid
      wrote on last edited by
      #6

      Before you took the job did you ask to see the team and look at the code you'll be working on? I always do.

      www.software-kinetics.co.uk

      R G R N 4 Replies Last reply
      0
      • L Lost User

        [Joke]

        Rajesh R Subramanian wrote:

        for more people to read instantly

        You learned this from Here[^] I guess. [/Joke]

        Rajesh R Subramanian wrote:

        don't you? *Rajesh cries out loud*

        :Hug:

        Rajesh R Subramanian wrote:

        And this one is more of a rant.

        Rants belong to other forum; oops sorry this is on-topic rant.

        "Sometimes the greatest journey is the distance between two people" - Nice quote from a Nice Indian Movie

        R Offline
        R Offline
        Rajesh R Subramanian
        wrote on last edited by
        #7

        Himanshu Joshi wrote:

        You learned this from Here[^] I guess.

        See here[^] :)

        Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP

        L 1 Reply Last reply
        0
        • R Rajesh R Subramanian

          Himanshu Joshi wrote:

          You learned this from Here[^] I guess.

          See here[^] :)

          Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #8

          Rajesh R Subramanian wrote:

          See here[^]

          :~

          "Sometimes the greatest journey is the distance between two people" - Nice quote from a Nice Indian Movie

          1 Reply Last reply
          0
          • N NormDroid

            Before you took the job did you ask to see the team and look at the code you'll be working on? I always do.

            www.software-kinetics.co.uk

            R Offline
            R Offline
            Rajesh R Subramanian
            wrote on last edited by
            #9

            It was the other way round here. After the interview process, they asked me to provide them with some non-copyrighted code that I've written. And then they liked me. Looks like I should have asked them for the code I'll be working on too. However, the overall project is going to be interesting and this framework is just a portion of it. The sad thing is that I'll have to get this framework to work before I could work on anything interesting. [ADD]And the team and people here are just absolutely fine. This code was sold to our client by some Korean company. [/ADD]

            Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP

            1 Reply Last reply
            0
            • D Declan Bright

              Posting this sort of thing to http://thedailywtf.com/[^] always helps to relieve the pain... ;P

              Declan Bright www.declanbright.com

              R Offline
              R Offline
              Rajesh R Subramanian
              wrote on last edited by
              #10

              Cool. That must be relieving. I can't access thedailywtf from work. Perhaps will do it from home. :)

              Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP

              J 1 Reply Last reply
              0
              • R Rajesh R Subramanian

                So, after I've joined my new employer, they welcomed me with an incomplete mawnnster framework, written in C++. No documentation whatsoever, multi threaded, expected to run on more than one operating system, friendly variable names like s, t (this is a string), pp1, pp2, etc., A complaint was that the connection drops out exactly at 12 in the night. Half a day is gone and then I find this gem comment with relevant code:

                //A day has passed by... this must be definitely an invalid session
                if(m_thisDay != date.T_day)
                Disconnect(SESSION_PREV, FORCE);

                And this is just the beginning :((

                Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP

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

                Rajesh R Subramanian wrote:

                //A day has passed by... this must be definitely an invalid sessionif(m_thisDay != date.T_day)Disconnect(SESSION_PREV, FORCE);

                Oh well. At least he commented his incorrect assumptions.

                Deja View - the feeling that you've seen this post before.

                My blog | My articles

                R 1 Reply Last reply
                0
                • R Rajesh R Subramanian

                  Cool. That must be relieving. I can't access thedailywtf from work. Perhaps will do it from home. :)

                  Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP

                  J Offline
                  J Offline
                  James R Twine
                  wrote on last edited by
                  #12

                  Given the (apparent) quality of the code, that company needs to unblock TDWTF and they need to do it Right Effing Now.    Reading some of the code samples and comments on that site may have prevented some of that crap from happening in the first place!    Peace!

                  -=- James
                  Please rate this message - let me know if I helped or not! * * * If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
                  Remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
                  See DeleteFXPFiles

                  R 1 Reply Last reply
                  0
                  • P Pete OHanlon

                    Rajesh R Subramanian wrote:

                    //A day has passed by... this must be definitely an invalid sessionif(m_thisDay != date.T_day)Disconnect(SESSION_PREV, FORCE);

                    Oh well. At least he commented his incorrect assumptions.

                    Deja View - the feeling that you've seen this post before.

                    My blog | My articles

                    R Offline
                    R Offline
                    Rajesh R Subramanian
                    wrote on last edited by
                    #13

                    Looks like I have to read up each and every comment in the framework. I could find a gem any time. :)

                    Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP

                    1 Reply Last reply
                    0
                    • J James R Twine

                      Given the (apparent) quality of the code, that company needs to unblock TDWTF and they need to do it Right Effing Now.    Reading some of the code samples and comments on that site may have prevented some of that crap from happening in the first place!    Peace!

                      -=- James
                      Please rate this message - let me know if I helped or not! * * * If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
                      Remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
                      See DeleteFXPFiles

                      R Offline
                      R Offline
                      Rajesh R Subramanian
                      wrote on last edited by
                      #14

                      Fortunately, the code was not written by anyone over here. It was sold to our client by a Korean company. Our client moved the project to us, unsatisfied with the ones who previously 'developed' it.

                      Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP

                      M 1 Reply Last reply
                      0
                      • N NormDroid

                        Before you took the job did you ask to see the team and look at the code you'll be working on? I always do.

                        www.software-kinetics.co.uk

                        G Offline
                        G Offline
                        Graham Bradshaw
                        wrote on last edited by
                        #15

                        norm .net wrote:

                        look at the code you'll be working on? I always do.

                        They let you look at what is probably proprietary code before you've signed the contract? You must look very trustworthy!

                        R N 2 Replies Last reply
                        0
                        • G Graham Bradshaw

                          norm .net wrote:

                          look at the code you'll be working on? I always do.

                          They let you look at what is probably proprietary code before you've signed the contract? You must look very trustworthy!

                          R Offline
                          R Offline
                          Rajesh R Subramanian
                          wrote on last edited by
                          #16

                          That's what I was wondering about, but then I wildly guessed that such a thing may be allowed in the UK.

                          Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP

                          1 Reply Last reply
                          0
                          • R Rajesh R Subramanian

                            So, after I've joined my new employer, they welcomed me with an incomplete mawnnster framework, written in C++. No documentation whatsoever, multi threaded, expected to run on more than one operating system, friendly variable names like s, t (this is a string), pp1, pp2, etc., A complaint was that the connection drops out exactly at 12 in the night. Half a day is gone and then I find this gem comment with relevant code:

                            //A day has passed by... this must be definitely an invalid session
                            if(m_thisDay != date.T_day)
                            Disconnect(SESSION_PREV, FORCE);

                            And this is just the beginning :((

                            Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP

                            K Offline
                            K Offline
                            Kevin McFarlane
                            wrote on last edited by
                            #17

                            Rajesh R Subramanian wrote:

                            No documentation whatsoever

                            Quite a common scenario - as with my current app. which I inherited. Plus zero code comments as well. :mad:

                            Kevin

                            R 1 Reply Last reply
                            0
                            • K Kevin McFarlane

                              Rajesh R Subramanian wrote:

                              No documentation whatsoever

                              Quite a common scenario - as with my current app. which I inherited. Plus zero code comments as well. :mad:

                              Kevin

                              R Offline
                              R Offline
                              Rajesh R Subramanian
                              wrote on last edited by
                              #18

                              Kevin McFarlane wrote:

                              Plus zero code comments as well.

                              No documentation? I can live with it. But come on! Code commenting is not *that* hard to do. I won't accept an excuse, whatsoever. Those bastards deserve a slow and painful death.

                              Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP

                              K 1 Reply Last reply
                              0
                              • L Lost User

                                Rajesh R Subramanian wrote:

                                I find this gem comment with relevant code:

                                Every Indian programmer has be redirected to Correct Forum[^] regardless of how many awards they receive. ;P :laugh:

                                "Sometimes the greatest journey is the distance between two people" - Nice quote from a Nice Indian Movie

                                R Offline
                                R Offline
                                realJSOP
                                wrote on last edited by
                                #19

                                And some Indian programmers are so hopelessly clueless that they can't tell the difference between a programming question and a programming rant.

                                "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                                -----
                                "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                                L 1 Reply Last reply
                                0
                                • N NormDroid

                                  Before you took the job did you ask to see the team and look at the code you'll be working on? I always do.

                                  www.software-kinetics.co.uk

                                  R Offline
                                  R Offline
                                  realJSOP
                                  wrote on last edited by
                                  #20

                                  norm .net wrote:

                                  did you ask to see the team

                                  What good would that do? All Indians look the same, so it would be like looking in a mirror.

                                  "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                                  -----
                                  "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                                  R N 2 Replies Last reply
                                  0
                                  • R realJSOP

                                    And some Indian programmers are so hopelessly clueless that they can't tell the difference between a programming question and a programming rant.

                                    "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                                    -----
                                    "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                                    L Offline
                                    L Offline
                                    Lost User
                                    wrote on last edited by
                                    #21

                                    And some people are busy enough to notice a joke icon and are much more busy to click on the correct forum link provided.

                                    "Sometimes the greatest journey is the distance between two people" - Nice quote from a Nice Indian Movie

                                    1 Reply Last reply
                                    0
                                    • R Rajesh R Subramanian

                                      Kevin McFarlane wrote:

                                      Plus zero code comments as well.

                                      No documentation? I can live with it. But come on! Code commenting is not *that* hard to do. I won't accept an excuse, whatsoever. Those bastards deserve a slow and painful death.

                                      Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP

                                      K Offline
                                      K Offline
                                      Kevin McFarlane
                                      wrote on last edited by
                                      #22

                                      Rajesh R Subramanian wrote:

                                      Those bastards deserve a slow and painful death.

                                      I agree. :) Management and/or Team Leader ought to keep on top of that sort of thing. Ideally there should be code reviews but in environments where there isn't (the vast majority) there should at least be some minimal standards.

                                      Kevin

                                      E 1 Reply Last reply
                                      0
                                      • R Rajesh R Subramanian

                                        So, after I've joined my new employer, they welcomed me with an incomplete mawnnster framework, written in C++. No documentation whatsoever, multi threaded, expected to run on more than one operating system, friendly variable names like s, t (this is a string), pp1, pp2, etc., A complaint was that the connection drops out exactly at 12 in the night. Half a day is gone and then I find this gem comment with relevant code:

                                        //A day has passed by... this must be definitely an invalid session
                                        if(m_thisDay != date.T_day)
                                        Disconnect(SESSION_PREV, FORCE);

                                        And this is just the beginning :((

                                        Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP

                                        D Offline
                                        D Offline
                                        Dy
                                        wrote on last edited by
                                        #23

                                        I've been in a similar position. As frustrating as it might be, take comfort from the fact that the work is unlikely to dry up any time soon. Unless the customer decides enough is enough....

                                        - Dy

                                        1 Reply Last reply
                                        0
                                        • R realJSOP

                                          norm .net wrote:

                                          did you ask to see the team

                                          What good would that do? All Indians look the same, so it would be like looking in a mirror.

                                          "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                                          -----
                                          "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                                          R Offline
                                          R Offline
                                          Rajesh R Subramanian
                                          wrote on last edited by
                                          #24

                                          John Simmons / outlaw programmer wrote:

                                          All Indians look the same

                                          Are you confusing India with Japan? :)

                                          Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP

                                          N 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