- 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!
Collapse
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.
Logging in...
Previously on "Whose stupid idea was it to refactor my software?"
Collapse
-
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:
-
Originally posted by bogeyman View PostI'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.
Oh well, I did manage to prove my backups work.
Leave a comment:
-
Leave a comment:
-
Originally posted by HairyArsedBloke View PostSome 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:
-
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:
-
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:
-
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:
-
"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:
-
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:
-
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.
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:
-
Originally posted by Shimano105 View PostI 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:
-
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:
-
Do you use a sourcebase, that should tell you who it was that checked it all back in?
Leave a comment:
- Home
- News & Features
- First Timers
- IR35 / S660 / BN66
- Employee Benefit Trusts
- Agency Workers Regulations
- MSC Legislation
- Limited Companies
- Dividends
- Umbrella Company
- VAT / Flat Rate VAT
- Job News & Guides
- Money News & Guides
- Guide to Contracts
- Successful Contracting
- Contracting Overseas
- Contractor Calculators
- MVL
- Contractor Expenses
Advertisers
Contractor Services
CUK News
- How much tax to pay HMRC on cryptocurrency? Today 10:00
- Life Insurance services Yesterday 10:21
- Relevant Life Insurance Services Yesterday 10:08
- Will umbrella company regulation spark mergers and acquisitions? Yesterday 09:24
- Critical Illness Insurance for Contractors: Protect Yourself When It Matters Most Jan 14 16:26
- Relevant Life Insurance for Contractors with a Limited Company Jan 14 16:14
- Life Insurance for Contractors: Why it’s Essential Jan 14 16:09
- Guide to Income Protection Insurance for Contractors Jan 14 16:00
- Treasury minister told six actions can save contractor umbrella sector from ‘existential’ crisis Jan 14 09:40
- Critical Illness Services Jan 13 16:41
Leave a comment: