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

You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:

  • You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
  • You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
  • If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Previously on "Whose stupid idea was it to refactor my software?"

Collapse

  • Shimano105
    replied
    Best idea so far

    Leave a comment:


  • HairyArsedBloke
    replied
    Finished !

    NOW, DON'T DO IT AGAIN


    I've got another idea, but I think I'll have a bath and then go down the pub instead.

    Leave a comment:


  • minestrone
    replied
    Refactoring is overrated.

    It should be resisted in all ways.

    Leave a comment:


  • Sysman
    replied
    Originally posted by bogeyman View Post
    I've often done things like that.

    Usually as a result of some 'insight' I've had in the period between being asleep and being properly awake.

    Up early, full of enthusiasm, 2 minutes in the shower, a nice cup of coffee, and then...

    14 hours later: project in pieces, will not build, or if it does, will not work.

    16 hours later: restore from previous version, say 'flip it' and go to bed.

    It must be the Refactoring Devil, visiting you at night. A bit like the tooth fairy, only worse.
    Ooh, I did that with a web site just last week.

    Oh well, I did manage to prove my backups work.

    Leave a comment:


  • HairyArsedBloke
    replied
    I've got Bob Shawadiwadi in to give me a hand.

    YouTube: Software Configuration Management

    Leave a comment:


  • MrNoMotivation
    replied
    Originally posted by HairyArsedBloke View Post
    Some bright spark had the idea on Sunday morning of separating out the library and applications projects from a Visual Studio solution into completely separate solutions, including reorganising the repository, directory structure, namespace conventions, etc.

    It sounds a good idea. It is doesn’t make much sense leaving it as it is and it will only cause more problems in the future.

    So now it’s nearly lunch time on Wednesday and I still can’t build the whole thing properly.



    When I get my hands on whoever came up with this idea I’m going to sack him.


    my point exactly - http://forums.contractoruk.com/gener...mplicated.html

    P.S I haven't got a clue what you're talking about

    Leave a comment:


  • VectraMan
    replied
    The other week I started on a new version of the Plan B software by hacking it all to pieces, reorganising all the projects, and then spent the next week trying to get a build going again. And that's with loads of stuff missing, and lots of bits #if'd out.

    I do quite like doing that sort of major surgery. It helps you reform the bond you had with your code before you became cynical and jaded.

    Leave a comment:


  • OrangeHopper
    replied
    Be very wary Hairy. If you give up you know that the little imp will come back a little while later, wink at you, and suggest you have another go.

    Leave a comment:


  • HairyArsedBloke
    replied
    The only code 'changes' that I've made has been to the name spaces. I've moved whole projects between directories and solutions. Then built new assemblies or rather tried to in the higher level cases and I'm getting sheadloads of reference errors.

    Nearly done now. I hope.

    That'll learn me.

    Leave a comment:


  • scotspine
    replied
    "You could try using the built-in VS refactoring tools or even ReSharper in future."

    yep, but even those in the hands of the daring or worse, the half asleep, can quickly and unrelentingly render your lovingly crafted lines of code into the biggest pile of mince you'd never want to see.

    just copy everything into notepad hab. it'll be fine you'll see

    Leave a comment:


  • Shimano105
    replied
    You could try using the built-in VS refactoring tools or even ReSharper in future.

    IME using one of the above can help, whereas just ripping out blocks and renaming usually ends in tears.

    Leave a comment:


  • bogeyman
    replied
    Originally posted by HairyArsedBloke View Post


    Aye, down to just me at the moment while I'm stuck in the UK. I'm looking forward to building things up later in the year.
    I've often done things like that.

    Usually as a result of some 'insight' I've had in the period between being asleep and being properly awake.

    Up early, full of enthusiasm, 2 minutes in the shower, a nice cup of coffee, and then...

    14 hours later: project in pieces, will not build, or if it does, will not work.

    16 hours later: restore from previous version, say 'feck it' and go to bed.

    It must be the Refactoring Devil, visiting you at night. A bit like the tooth fairy, only worse.
    Last edited by bogeyman; 8 July 2009, 13:00.

    Leave a comment:


  • HairyArsedBloke
    replied
    Originally posted by Shimano105 View Post
    I think the clue is that HAB works by himself.

    Simples, all you do is revert back to your previous working version from your source repos - er you do have one... don't you?


    Aye, down to just me at the moment while I'm stuck in the UK. I'm looking forward to building things up later in the year.

    Leave a comment:


  • Shimano105
    replied
    I think the clue is that HAB works by himself.

    Simples, all you do is revert back to your previous working version from your source repos - er you do have one... don't you?

    Leave a comment:


  • MPwannadecentincome
    replied
    Do you use a sourcebase, that should tell you who it was that checked it all back in?

    Leave a comment:

Working...
X