|
I send him to the grocery store and he returns with things that are quasi-edible.
and motor oil.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
Did you send him with a list?
Lists are good.
Although, be careful, once I was given a list with "Mini eggs" on it, so being near Easter, I got the chocolate kind, The savory type were expected
|
|
|
|
|
i write lists like i comment code.
1. Ingredients for pasta salad
2. Ingredients for artichoke dip
3. Ingredients for BBQ chicken
what's the problem?
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
Try like you write code... a lot more specific
BBQ chicken... a chicken and some BBQ sauce.
Artichoke dip... Ketchup, maybe mayo.
Pasta salad... mayo & a lettuce?
|
|
|
|
|
my math teachers hated me for the same reason. "Show your work" - i'm like "the answer is right there" - that's my work.
LOL
"You've seen me make this salad a million times"
"I don't watch you make it. I just eat it"
"Apply yourself"
It never goes well.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
So the poor bugger has to wander around the shop with his nose in Google trying to find the ingredients for this and that, and then you deride (did not want to use bitch at) him for getting the wrong stuff - cruel is that .
Never underestimate the power of human stupidity -
RAH
I'm old. I know stuff - JSOP
|
|
|
|
|
they call me gillette because i am the best a man can get.
also i will cut you.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
TY for an afternoon laugh.
|
|
|
|
|
Ahah, that is your problem, if he doesnt know how to cook, he wont know the ingredients.
|
|
|
|
|
what even is life if you can't cook?
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
|
I assume you've tried the "engineer test"?
"Get a loaf of bread. If they have eggs, get six."
Does he come back with:
- One loaf of bread and six eggs;
- Six loaves of bread, because they had eggs; or
- a portable BBQ and some motor oil?
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
sometimes the 2nd one. sometimes the latter. every shopping trip is a surprise!
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
|
I have deadlines and I have code to write, and that means I'm constantly doing the devil vs angel "but no one will notice" conversation with code. Maybe I do var count = GetCount(); which seems fine except it's lazy and GetCount() actually returns a long not an int and so the next person comes along wanting to punch you because they have to do a cast.
Or instead of using a repeater in a WebForms app* I just inline the logic directly into the ASPX page. Or I do
string output = "value1";
output += "value2";
output += "value2";
...
output += "valueN";
return output;
Another 4 hrs till beer o'clock and I know things will go downhill properly before then.
So what's the worst you've seen done. Or done yourself?
* And yes, the real laziness here is not rewriting the entire WebForms app in MVC. Or Angular. Or Blazor. Or ...
cheers
Chris Maunder
|
|
|
|
|
Chris Maunder wrote: So what's the worst you've seen done. Or done yourself?
Writing self-modifying Z80 assembler code to process caps lock on a VDT?
Yes, that was me ... in my defence it was a long time ago and the VDT's are almost certainly crumbled to dust by now. Anyone seen a Lynwood Alpha or Beta? Or even heard of 'em?
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Chris Maunder wrote: So what's the worst you've seen done. Or done yourself?
Probably coding a specific logic for a specific customer 'cause it's a one-off or I don't have time to do a proper option.
Excuse me, I now have to return to a webform with two sets of nested repeaters, and a few dynamic tables thrown in for fun! For more fun, let's keep subtotals at every level and page totals using javascript.
"Go forth into the source" - Neal Morse
|
|
|
|
|
I had to get something working for a test and demo two weeks ago.
I was running out of time so I hard-coded an ID and a secret into the application to connect to some services
In my defense, it'll never see production (I'm not even sure if I believe that myself )
|
|
|
|
|
I have been bitten by that a few times. Eventually I resorted to adding little booby traps that would prevent things from being deployed as a self-defense mechanism. The first time they discovered one I told them I did that so you wouldn't do what you just did - try to use it in production. They didn't like it when I asked them, "what part of not ready for production do you not understand?" in front of three levels of bosses.
"They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"
|
|
|
|
|
I've done something like that once.
It required some dubious unit tests, but they did what they should on the build server
Everyone on the team was quite happy with them, because we did actually check in some test code a few times.
|
|
|
|
|
those, and sometimes in SQL statements concatenating user input string/varchar values
but only pre-release / personal test - never in release
(probably a bit anal about it but I'll purposely work longer to fix these things before knocking off for the day/night ...SQL parameters, clean up strings / use stringbuilder, replace every single var with the proper type.)
Message Signature
(Click to edit ->)
|
|
|
|
|
A quick and dirty 'CleanupTool' I wrote in C# for use on our builder, it accepts up to three command line parameters, the start path, the directory to delete (bin), and a range of exclusions.
It works with the directories we have, but don't have any expectations beyond that
|
|
|
|
|
Funny you mention, I am currently writing some mighty fine lazy code. Most assuredly will have to refactor everything I am writing...on Monday.
|
|
|
|
|
Kidding Chris, kidding
|
|
|
|
|
Software Zen: delete this;
|
|
|
|