• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Working Dilemma

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    #11
    Can you wrapper the code so that your code protects the crap code from anything which will make it fall over?

    Comment


      #12
      The stuff I have to 'reuse' is a bunch of front end pages and action classes hanging off of that. I would have tried to make it into a neat package but the code has already been 'reused' a few times so I doubt there is a point in making it into a package.

      They link into a back end system that validates everything at the data level but the front end does hardly any validation, if the back end tells the front end to GTF the front end just drops a tulipe to the screen. I told them I would have it finished today but I think there is another day of refactoring.

      If I tell them that it needs reworked then a few people ( original code developer and the other people who have copied it ) will be told they have to change it as they are crap so I will be pretty unpopular.

      Code is rework for a pretty major retail site as well. Myself and the other contractors have been bitching about it for weeks, not one Bob in the place as well. Home grown crap.

      Comment


        #13
        If you know it'll fall over, write a few test cases that demonstrate it falling over, and then propose your rework plan.

        Being able to do this without looking like a smug git is what separates the contracting sheep from the goats.

        Comment


          #14
          Originally posted by thunderlizard View Post

          Being able to do this without looking like a smug git is what separates the contracting sheep from the goats.
          That is my worry, the code will fall over just by looking at the screen, i'm worried about telling the architect the code is rotten which implies that all the people that are coding for him can't code and then the PM asking the architect why he was not checking the code they were writing.

          All the contractors have been heading for lunch every day wondering who was going to be first to tell them this big greenfield site was a pile of steaming pish, looks like I get the short straw.

          Comment


            #15
            Well that's easy enough. Make it look like an accident.*



            *or a burglary gone wrong. But more likely an accident.

            Comment


              #16
              Originally posted by Zippy View Post
              Has it been properly tested? How has it been tested? How long is the defect list? Do you have adequate documentation of all the interfaces etc.?
              And then we step outside the software engineering lecture into the Big Wide World...
              Originally posted by MaryPoppins
              I'd still not breastfeed a nazi
              Originally posted by vetran
              Urine is quite nourishing

              Comment


                #17
                Hire Mich to test it!

                once a professional tester breaks it then surely you are in the clear - you get paid to fix it!
                This default font is sooooooooooooo boring and so are short usernames

                Comment


                  #18
                  Originally posted by minestrone View Post
                  That is my worry, the code will fall over just by looking at the screen, i'm worried about telling the architect the code is rotten which implies that all the people that are coding for him can't code and then the PM asking the architect why he was not checking the code they were writing.

                  All the contractors have been heading for lunch every day wondering who was going to be first to tell them this big greenfield site was a pile of steaming pish, looks like I get the short straw.
                  I've not heard of architect's checking code - they are too busy drawing diagrams to be looking at code!

                  Most places I've worked no-one checks code - I've had to appoint the duty to the team on a risk basis on an informal basis with existing teams or on a formal basis with newly formed teams.

                  BTW if the code is that crappy can't you predict what will fall over / what the bugs are, execute the code and demonstrate the tulipe in action?
                  This default font is sooooooooooooo boring and so are short usernames

                  Comment


                    #19
                    You could try telling the PM that crap code = expensive code. But I doubt he'll listen, never mind understand. Project mindset - get it working for day 1. Day 2 can **** itself.

                    Sometime I'm glad I work in a validated environment so that a legitimate concern about code quality tends to be taken seriously. Especially as my stuff takes longer to code than the other guys' - but tends to work and not break.

                    I really really HATE bad coding
                    Down with racism. Long live miscegenation!

                    Comment


                      #20
                      They do not have testing department and I actually have not met a tester yet and although I built a front end testing mini framework for them they never understood it.

                      It's more telling the depatment that they cannot code rather than fixing it for them that is the problem.

                      I have always went through my contract career coding what they have asked me to write. If they ask me to write..

                      System.out.println( "all work and no play makes jack a dull boy" ) ;
                      System.out.println( "all work and no play makes jack a dull boy" ) ;
                      System.out.println( "all work and no play makes jack a dull boy" ) ;
                      System.out.println( "all work and no play makes jack a dull boy" ) ;


                      ..I will do it. It's just this time I am coding for a presentation to a client and I have to piss of a whole team of people for it to work.

                      Comment

                      Working...
                      X