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

Coding Off Days!!!

SallyAnne

Godlike like
Joined
Oct 18, 2006
Messages
8,911
Likes received
20
Thanks received
10
Location
Sunderland
Do you ever have really bad coding days where you think "what the hell am I doing wrong?!!"

I dont know much techie wise, but in the area of what I do, I am sh*t hot. And I can knock up a report in 2 minutes that might take someone else a couple of days. Seriously!

Yesterday afternoon I was stuck though - I had a report which was based on a SQL statement which called a PL/SQL package, and somewhere along the line it just wasn't working!
I had all the code disected, at one piont I deleted it all with frustration and wrote it all from scratch again - same problem.

Came in this morning and looked at it through fresh eyes.....and you know what I'd done? Put a fricken > instead of a < :tantrum: :tantrum: :suicide:

I'd even done the same mistake when I re-wrote it all!!!! What a numpty :o
 
Last edited: 08:33
ha! ha! Yeah, but it's a great feeling when you find the cause is something so trivial....like having a pee after 5 pints...

Nice bug solve SA! :D
 
SallyAnne said:
I write all my code in notepad like - I dont know why. I cant be doing with these tools that indent for you and make all your comments green and stuff.

;)
 
Feck me no wonder the work is going to India. Use a decent editor (like VS.NET 2005) that has built in refactoring tools, intellisense, debuggers, etc.

If you can't find one out of place char in a small bit of SQL, what chance have you when you do some real IT?


:cool1:
 
DimPrawn said:
Feck me no wonder the work is going to India. Use a decent editor (like VS.NET 2005) that has built in refactoring tools, intellisense, debuggers, etc.

If you can't find one out of place char in a small bit of SQL, what chance have you when you do some real IT?

:cool1:

How would an editor have known I meant to check for greater than rather than less than? Are there psychic editors out there now like? :rolleyes:
 
SallyAnne said:
How would an editor have known I meant to check for greater than rather than less than? Are there psychic editors out there now like? :rolleyes:

Your complete coverage of UNIT TESTS would have picked up logic errors, all handled for you in any professional editor.

You DO write all the unit tests BEFORE coding don't you?

You DO have your code peer reviewed for errors?

Or do you just hack code and hope it is correct?
 
DimPrawn said:
Your complete coverage of UNIT TESTS would have picked up logic errors, all handled for you in any professional editor.

You DO write all the unit tests BEFORE coding don't you?

You DO have your code peer reviewed for errors?

Or do you just hack code and hope it is correct?

In this case a < or > wouldn't have flagged as a logic error.

Testing and test script writing where I'm working is done by a sperate team :rolleyes: , however I test my own code as I write it (hence finding the error).

Also, no they dont peer review here, but even if they did it wouldn't have been at that stage. I wouldn't pass code over for review unless I'd tested it fully myself.

Oh, and get with the times you old fart - no one calls it unit testing these days :rolleyes:
 
What do they call unit testing now then?
 
SallyAnne said:
Came in this morning and looked at it through fresh eyes.....and you know what I'd done? Put a fricken > instead of a < :tantrum: :tantrum: :suicide:

I'd even done the same mistake when I re-wrote it all!!!! What a numpty :o

Explain to the manager that you are overqualified to do any coding and that it is such a big waste to utilise a creative mind as yourself in lower margin implementation activities. Insist that you have "business" skills. Schedule a meeting where you bring your new architecture diagram shifting towards the SAA (SallyAnneArchitecture) paradigm. Tell the client that they have to embrace the new trend now before it's too late.
 

Advertisers

Back
Top