|
the fall of...
one can only hope.
Marc
|
|
|
|
|
Working for DAYS on a code set based on an idea, and then, just as you get it working reliably, it occurs to you that there's a MUCH better way to do it, and then you think, "am I gonna be embarrassed when someone else looks at this code?", and because it hurts to think about, you decided to refactor by starting all over again, and realize that 95% of the code you implemented wasn't necessary to begin with, and the other 5% is all that's usable from your sense of failure and self-loathing?
Or do you just say "f*ck it" and release it to production?
".45 ACP - because shooting twice is just silly" - JSOP, 2010
- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
I do that a lot. Generally I don't have a clue what I'm doing when I get going, and it emerges what was required, and the flaws in my simplistic approach. Then I do it all over again, often more than once. This is the road to perfection.
Regards,
Rob Philpott.
|
|
|
|
|
Rob Philpott wrote: This is the road to perfection.
It's the road to somewhere, that's for sure. In my case, it feel more like the insane asylum, though...
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
|
|
|
|
|
If it's not needed then chop it out.. every extra line of code is a potential performance hit or bug just waiting to make your life a misery weeks/months/years(!) down the road
Ah, I see you have the machine that goes ping. This is my favorite. You see we lease it back from the company we sold it to and that way it comes under the monthly current budget and not the capital account.
modified 31-Aug-21 21:01pm.
|
|
|
|
|
Release it but put in some comments that make people think somebody else wrote it!
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 try to write comments like an Indian. That way, everyone will think the code was outsourced, and will understand why the code looks like it does.
Like this:
".45 ACP - because shooting twice is just silly" - JSOP, 2010
- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
modified 31-Jan-17 10:37am.
|
|
|
|
|
You mean like "How! This code run fast like great metal horse across the wide open prairies where the buffalo roams! Hoka hey!"?
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
|
|
|
|
|
John Simmons / outlaw programmer wrote: Like this:
Wouldn't work. Anyone can tell it's fake by the lack of "u", "ur", "plz" and "urgtz" contained within the comment.
Speed of sound - 1100 ft/sec
Speed of light - 186,000 mi/sec
Speed of stupid - instantaneous.
|
|
|
|
|
Chuckit in the f*ckit bucket and move on.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
John Simmons / outlaw programmer wrote: and because it hurts to think about, you decided to refactor by starting all over again, and realize that 95% of the code you implemented wasn't necessary to begin with, and the other 5% is all that's usable from your sense of failure and self-loathing?
Isn't that the definition of "prototype"?
But prototyping is a dying art. Even in hardware circles, we sometimes shipped hand-wired prototypes to meet delivery schedules.
Marc
|
|
|
|
|
Marc Clifton wrote: Isn't that the definition of "prototype"?
But prototyping is a dying art.
Suddenly you made me realize there's a reason there's a "pro" in "prototype".
|
|
|
|
|
If it ain't broke don't fix it!
New version: WinHeist Version 2.2.2 Beta I told my psychiatrist that I was hearing voices in my head. He said you don't have a psychiatrist!
|
|
|
|
|
If you find there's a better way that won't take you a long time to implement... use it. You'll thank yourself later.
Jeremy Falcon
|
|
|
|
|
If you work for an organization that measures progress by lines-of-code, then comment out the existing stuff with
#if 0
...
#endif and add the new approach. If not, then remove the old stuff and go on.
Software Zen: delete this;
|
|
|
|
|
[well, it went by so fast, we missed it...]
|
|
|
|
|
You had enough time for the light to travel roughly from the monitor to your eyeballs. How much more time do you need?
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "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 |
|
|
|
|
|
You need to get your eyes checked - you are sitting way too close to the monitor! (About 30cm away)
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
OriginalGriff wrote: you are sitting way too close to the monitor! Too close to my monitor, is it?
(Gratuitous and uncalled for reply: )*
Well - even at roughly 30 cm it's safer than being sheep in Wales.
* But never off topic!
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "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 |
|
|
|
|
|
There went again...
New version: WinHeist Version 2.2.2 Beta I told my psychiatrist that I was hearing voices in my head. He said you don't have a psychiatrist!
|
|
|
|
|
|
Best part of the source, ever!!!!
mov dl, 0x00 ; drive 0 (floppy disk)
Emphasis on __ FLOPPY DISK ___!!!
Glad I've kept mine from DOS 3.3
I like the scraping sound the disk makes when it spins in the drive. Very soothing.
|
|
|
|
|
It's seriously nostalgic to think of the days you could type [A] [:] and then [Enter]
|
|
|
|
|
I still can - one of my NAS volumes is mapped to the A: drive.
Bit bigger than a floppy though...
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|