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
    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
      • 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!

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

        I'm not being picky here, but you can hardly copy the system by glancing a page of code :wtf:. I always ask to see the system and the codebase I'll be working on, it saves you and the future employer at lot of time when it comes to the start date and you don't feel it's the job for you on day one after looking at the code.

        www.software-kinetics.co.uk

        G E 2 Replies 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

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

          John Simmons / outlaw programmer wrote:

          so it would be like looking in a mirror.

          I hope not Johnny Boy, I'm not Indian :rolleyes:.

          www.software-kinetics.co.uk

          1 Reply Last reply
          0
          • R Rajesh R Subramanian

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

            :laugh: don't matter to John he tars everyone with the same old brush.

            www.software-kinetics.co.uk

            R 1 Reply Last reply
            0
            • N NormDroid

              I'm not being picky here, but you can hardly copy the system by glancing a page of code :wtf:. I always ask to see the system and the codebase I'll be working on, it saves you and the future employer at lot of time when it comes to the start date and you don't feel it's the job for you on day one after looking at the code.

              www.software-kinetics.co.uk

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

              norm .net wrote:

              you can hardly copy the system by glancing a page of code

              But to make the decision, you surely need to see quite a more than one page anyway?

              N 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

                E Offline
                E Offline
                El Corazon
                wrote on last edited by
                #29

                needs more comments... "well... duh!" after invalid session and "I hate DST" after the lines shown... ;P hehehe, sorry... just had to.... ;)

                1 Reply Last reply
                0
                • N NormDroid

                  :laugh: don't matter to John he tars everyone with the same old brush.

                  www.software-kinetics.co.uk

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

                  :laugh: Yes! Sometimes, I've seen him trying to get out a joke desparately, but then he gets out an old fart. But he's one of my fav CPians you see.

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

                  N 1 Reply Last reply
                  0
                  • R Rajesh R Subramanian

                    :laugh: Yes! Sometimes, I've seen him trying to get out a joke desparately, but then he gets out an old fart. But he's one of my fav CPians you see.

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

                    Rajesh R Subramanian wrote:

                    But he's one of my fav CPians you see.

                    I like Johns, straight to the point - no holds barred attitude.

                    www.software-kinetics.co.uk

                    1 Reply Last reply
                    0
                    • G Graham Bradshaw

                      norm .net wrote:

                      you can hardly copy the system by glancing a page of code

                      But to make the decision, you surely need to see quite a more than one page anyway?

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

                      You can get a gist of whats in store, especially if you see i,j,k and lacking any OO, I've asked to see code many at time and have never been refused (yet).

                      www.software-kinetics.co.uk

                      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

                        J Offline
                        J Offline
                        Jim Crafton
                        wrote on last edited by
                        #33

                        Bah! Tell 'em to dump it for a REAL mawnnster framework[^]! :)

                        ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! VCF Blog

                        R 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

                          N Offline
                          N Offline
                          Nemanja Trifunovic
                          wrote on last edited by
                          #34

                          norm .net wrote:

                          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.

                          Never been in a position to see the code before officially joining the team, but it may be good - after all I have never seen a code base I like :)

                          Programming Blog utf8-cpp

                          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
                            Delphi4ever
                            wrote on last edited by
                            #35

                            I feel your pain...Espesially about the not documentaion. Not a single page. 1000s of source files, but no documents. Not. Even. One.

                            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

                              E Offline
                              E Offline
                              El Corazon
                              wrote on last edited by
                              #36

                              Rajesh R Subramanian wrote:

                              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:

                              I know it won't make you feel better, but this is a common problem here. One of the most common time formats we accept is time since midnight with a some nanosecond level of accuracy I always forget.... anyhow, because the time includes no date, you sometimes have to do a little extra math when it comes to elapsed time... or not as in some cases. elapsedTime=currentTime-lastTime; // get elapsed time since last pass if (elapsedTime<0) exit(1); // we passed midnight, panic, exit! That is more common than you would believe, sometimes even with the comments intact. Of course worse still are those who leave off the if statement at all, and accept time as gospel. When you see time move backwards in data review, you know someone forgot to handle the midnight roll-over. :sigh: Of all the time errors you can imagine, midnight roll-over I have fixed more often than any other. :sigh:

                              _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb) John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others."

                              R 1 Reply Last reply
                              0
                              • N NormDroid

                                I'm not being picky here, but you can hardly copy the system by glancing a page of code :wtf:. I always ask to see the system and the codebase I'll be working on, it saves you and the future employer at lot of time when it comes to the start date and you don't feel it's the job for you on day one after looking at the code.

                                www.software-kinetics.co.uk

                                E Offline
                                E Offline
                                El Corazon
                                wrote on last edited by
                                #37

                                norm .net wrote:

                                I always ask to see the system and the codebase I'll be working on

                                curious... would you refuse a job offer because they said no? None of my code is classified, but before employement to get to see the code you would have to fill out endless miles of paperwork. It is certainly possible, but I think you would find the process too slow. Several companies have gone through the process, and waited 3 to 6 months for approvals and even then only got the snippets they specifically requested.

                                _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb) John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others."

                                N 1 Reply Last reply
                                0
                                • K Kevin McFarlane

                                  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 Offline
                                  E Offline
                                  El Corazon
                                  wrote on last edited by
                                  #38

                                  Kevin McFarlane wrote:

                                  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.

                                  the one on our team most guilty of that, and he still defends the practice, used to be management. :sigh:

                                  _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb) John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others."

                                  1 Reply Last reply
                                  0
                                  • E El Corazon

                                    norm .net wrote:

                                    I always ask to see the system and the codebase I'll be working on

                                    curious... would you refuse a job offer because they said no? None of my code is classified, but before employement to get to see the code you would have to fill out endless miles of paperwork. It is certainly possible, but I think you would find the process too slow. Several companies have gone through the process, and waited 3 to 6 months for approvals and even then only got the snippets they specifically requested.

                                    _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb) John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others."

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

                                    El Corazon wrote:

                                    Several companies have gone through the process, and waited 3 to 6 months for approvals and even then only got the snippets they specifically

                                    Wouldn't work for slow moving companies like that, it's a reflectoion on the process ethics in the company.

                                    www.software-kinetics.co.uk

                                    E 1 Reply Last reply
                                    0
                                    • N NormDroid

                                      El Corazon wrote:

                                      Several companies have gone through the process, and waited 3 to 6 months for approvals and even then only got the snippets they specifically

                                      Wouldn't work for slow moving companies like that, it's a reflectoion on the process ethics in the company.

                                      www.software-kinetics.co.uk

                                      E Offline
                                      E Offline
                                      El Corazon
                                      wrote on last edited by
                                      #40

                                      norm .net wrote:

                                      Wouldn't work for slow moving companies

                                      that isn't the company, the requests have to be made at the federal level. Internal hand-offs are much faster. external ones requiring federal approval take ages.

                                      _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb) John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others."

                                      1 Reply Last reply
                                      0
                                      • R Rajesh R Subramanian

                                        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 Offline
                                        M Offline
                                        MidwestLimey
                                        wrote on last edited by
                                        #41

                                        Rajesh R Subramanian wrote:

                                        It was sold to our client by a Korean company

                                        So Americans blame Indian developers, and Indians blame Korean developers .. ? Ahhh, Globalization :D


                                        I'm largely language agnostic


                                        After a while they all bug me :doh:


                                        E 1 Reply Last reply
                                        0
                                        • M MidwestLimey

                                          Rajesh R Subramanian wrote:

                                          It was sold to our client by a Korean company

                                          So Americans blame Indian developers, and Indians blame Korean developers .. ? Ahhh, Globalization :D


                                          I'm largely language agnostic


                                          After a while they all bug me :doh:


                                          E Offline
                                          E Offline
                                          El Corazon
                                          wrote on last edited by
                                          #42

                                          MidwestLimey wrote:

                                          So Americans blame Indian developers, and Indians blame Korean developers .. ?

                                          so do the Koreans blame the American developers closing the loop or are there other countries involved?

                                          _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb) John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others."

                                          O 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