|
As an old timer in the world of programming (feed-register-release), I learned that I really cannot debug my own code - and one reason is a constant background process that simply removes thoughts about doing stupid and unexpected things to the application.
Over the years, like the rest of us, I spend a lot of effort handling boundary conditions in an attempt to foil user attempts at getting my attention. I comment all over the place - honestly, I'll admit - but sometimes what seemed so clear so long ago was apparently gibberish, after all.
Oddly, I don't remember being drunk at the time.
So - if I'm fortunate, someone will bang on it before it goes live, looking for problems. Describing the problem to someone also seems to work as I rephrase into the common speech.
But - the bottom line is that, when you wrote and released the work, you didn't leave any bugs you knew about in it (or do you work for MicroSoft?) - so why should they be easy to spot now? If they were they'd never have gotten by to begin with.
Disclaimer: the preceding was a fantasy of how I pretend I work. Any resemblance to any code that has gone live or is in beta is purely coincidental and probably a figment of both of our imaginations.
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "As far as we know, our computer has never had an undetected error." - Weisert | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
Remember, he's laughing with you, not at you.
|
|
|
|
|
No such things as bugs - they are referred to as "undocumented product characteristics".
|
|
|
|
|
This why I don't generally comment my code. Once in a while I will, if it's a case of a brief explanation of an unusual algorithm, or it's not obvious as to why I did something.
I adamantly refuse to comment what code is doing, except with regard to the XML comments on library code. Yes, I'm one of those people.
Currently reading: "The Two Towers", by J.R.R. Tolkien
|
|
|
|
|
Quote: Except they are lies: damn lies. Do you have any statistics on that?
Cheers,
Mike Fidler
"I intend to live forever - so far, so good." Steven Wright
"I almost had a psychic girlfriend but she left me before we met." Also Steven Wright
"I'm addicted to placebos. I could quit, but it wouldn't matter." Steven Wright yet again.
|
|
|
|
|
On the plus side, shows that you're continuing to improve as a developer.
Seems as if every time I review something from (say) six months ago, it's "what was I thinking?"
|
|
|
|
|
Reading comments from 10 years ago is like finding an old diary. Sometimes you think "What was I smoking when I wrote that?" and other times you just chuckle at how naive you were.
.
I may not last forever but the mess I leave behind certainly will.
|
|
|
|
|
Try not to be too hard on yourself, you were doing it for your own good...
|
|
|
|
|
I have recently begun extensively commenting my code, and discovered that it is a wonderful way to de-bug it. I write the code first, then go back and comment it testing to make sure it is really doing what I expected. Now I know purists out there will say I am doing it Bass-ackwards, but it works really well for me.
|
|
|
|
|
|
"Hey, I'm am the most beautiful woman in the world!" exclaims a demanding Brenda Jenner.
|
|
|
|
|
Mostly click-bait, I think...you can just feel all the outraged people, furiously clicking
|
|
|
|
|
Proof that beauty is in the eye of the beholder.
She wouldn't be a contender for my top 100.
Not to mention that she gets on my nerves in everything she's been in that I've had the misfortune to see (which is not a lot).
|
|
|
|
|
|
Yeah, well, I'm sure you prefer Anna from "Frozen", whippersnapper!
But I've got news for you: She's NOT REAL! So grow up!
Just joking with you of course...
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- I'd just like a chance to prove that money can't make me happy. Me, all the time
|
|
|
|
|
|
We've got Romanian women sitting on EVERY street corner here in Sweden. I can assure you that I know what Romanian women look like. And I'm not impressed...
Why haven't we got a "Joke but then again not" icon here on CP???
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- I'd just like a chance to prove that money can't make me happy. Me, all the time
|
|
|
|
|
Not talking about that type of women
You should visit Cluj or Timisoara to see what I mean
-- Log Wizard - a Log Viewer that is easy and fun to use!
|
|
|
|
|
I know a girl who I think live in Cluj, actually. Or rather, I don't know her personally, but I know of her by reputation[^] because we both train karate. And granted, she is very beautiful. But I still wouldn't kick Jennifer Aniston out of bed for her sake...
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- I'd just like a chance to prove that money can't make me happy. Me, all the time
|
|
|
|
|
|
I'm sorry, but I respectfully disagree with you. Not only is she very attractive (IMHO), she's also a really nice person. How could anyone not like her in Office Space[^]?
/ravi
|
|
|
|
|
Ravi Bhavnani wrote: How could anyone not like her in Office Space[^]?
I wouldn't know.
I didn't watch it, because that Anniston woman was in it.
And you did see her before she had more removed from her nose than the Sphynx has, didn't you?
In the eye of the beholder, my @rse; it's in the hands of the quack.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
You are damn right!
Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.
|
|
|
|
|
They need to get out more - and so do you.
Peter Wasser
"The whole problem with the world is that fools and fanatics are always so certain of themselves, and wiser people so full of doubts." - Bertrand Russell
|
|
|
|
|
pwasser wrote: and so do you.
whatever that means.
|
|
|
|