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