Are you a QOTWer? Do you want to start a thread that isn't a direct answer to the current QOTW? Then this place, gentle poster, is your friend.
(, Sun 1 Apr 2001, 1:00)
« Go Back | See The Full Thread
<? /* Nobody would see this one, AWW DUDDIMS */ ?>
(, Sat 30 Oct 2010, 11:39, 2 replies, latest was 15 years ago)
There is a load of code that goes like this....
<!-- WOO YAY -->
If you read my comments on my code, I write like I'm writing to myself.
// Right, now we're going to grab the user
[code to grab the user]
// Now we're going grab the _POST data and strip it
[code to do blah blah]
// Let's update it now
[code to update
// Did it work? Let's plonk up the All Done message
[All done message]
// Refresh the user vars
[code to refresh user vars]
// Right, sorted, continue on as usual.
[code to continue
(, Sat 30 Oct 2010, 11:43, Reply)
I think I see what you are doing though, in very general terms.
Please don't bother to educate me, I'm happy to remain ignorant in this case.
(, Sat 30 Oct 2010, 11:48, Reply)
(, Sat 30 Oct 2010, 12:03, Reply)
Where I work, the engineers delight in putting no comments or even decent titles in the software. This ensures they get called out when something goes wrong and no one can understand the programme.
(, Sat 30 Oct 2010, 12:05, Reply)
"[Company] are paying for the code, they own it. Although it's nice that they would have to come to me and I can charge what I want 'cus they'd be desporate... it's a bit like getting a builder in to paint your living room and he choosing a colour that only he can supply, even though you're the one paying for the paint".
Sometimes I can't help it, like I made a short function to do something (won't bore you with the details), and I called it the SQLCodeSelectStringCreator, which makes sense to people who know what code is, but I had to type that out 30 odd times so I just called it "SSC" (the 'SQL Code' bit being ignored), which means that nobody outside of my head would know what that does without looking at that function.
The trouble is, when Developer 2 comes along, they'd ask me what on earth that does, which means it takes more time explaining it.
(, Sat 30 Oct 2010, 12:11, Reply)
The other month I refused to pay a contractor who finished a job, left it working, and sent me the code. It had no words on it at all. I had written in the specification that a description of the code was required. His reposte that "it works, doesn't it?" cut no ice with me.
(, Sat 30 Oct 2010, 12:17, Reply)
« Go Back | See The Full Thread