|
It might make your disk array go into horizontal mode.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
|
No, but it will sure dull the pain of a system crash.
|
|
|
|
|
Well it does remind you of ex's phone numbers and encourage you to call ...
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!
|
|
|
|
|
Random ex's memory! Good one!!
"If we don't change direction, we'll end up where we're going"
|
|
|
|
|
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!
|
|
|
|
|
Enough of it will certainly make your memory access more random. I'm not sure that's a good thing...
Will Rogers never met me.
|
|
|
|
|
Thoughts peeps ?
We can’t stop here, this is bat country - Hunter S Thompson RIP
|
|
|
|
|
|
I agree. but honestly they are getting tougher or my brain is getting mushier so time doesn't matter.
cheers,
Super
------------------------------------------
Too much of good is bad,mix some evil in it
|
|
|
|
|
EXAMINEES? You didn't specify the number of letters, but I think it fits.
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!
|
|
|
|
|
In all seriousness, it's probably because Tim is good at 'em - and living in Canada he has to post 'em late at night (today's he posted at half past midnight his local time).
We could ban him from answering them, but that's not really civilized and IMHO he's doing his best to get them posted at a reasonable time.
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!
|
|
|
|
|
A clue for his mini CCC, moustache sounds like a nag about my posting time (6)
We can’t stop here, this is bat country - Hunter S Thompson RIP
|
|
|
|
|
With seconds to lose, Agnes backs winner for toaster (9)
|
|
|
|
|
With seconds to lose, (remove "S")
Agnes AGNE
backs winner CHAMP
for toaster
CHAMPAGNE
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!
|
|
|
|
|
Yup
|
|
|
|
|
At first glance real application (new) code from someone else always looks complicated, and one has to work with it for a while to find it, eventually, simpler. And sometimes I wonder if with old age and worst memory I suffer from that more.
Yesterday I mentioned some code looks excessively complicated for no reason, i.e. it does very simple task, and I got an incredulous look from a fellow developer... Maybe I was wrong?
First I am always confused by the double layer of obfuscation where getting something from the db goes through 2 pass-through layers, each hidden behind their own interface, that return "data model". Thanks god for Go To implementation and also sometimes some property are not named like the columns, or swapped around, tricky...
I guess I am getting old here..
But then I stumbled on that (code simplified for sake of "clarity")!
And I knew I was right, it's not just me, code was complicated!
void DoSomething()
{
foreach (var d in Data)
{
if (MustDo(d.Code))
{
}
}
}
bool MustDo(string code)
{
if (BigCondition)
{
return GetData(code)?.Should ?? false;
}
return false;
}
AData GetData(string code) => Data.FirstOrDefault(x => x.Code == code);
clearly this is over complicated and can be rewritten
void DoSomething()
{
foreach (var d in Data)
{
if (BigCondition && d.Should)
{
}
}
}
And there is much much more of it...
Well I guess that's why they pay me!
modified 23-May-19 21:41pm.
|
|
|
|
|
I do notice how everyone else's code is over-complicated, outdated, and needs re-writing
«Where is the Life we have lost in living? Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information?» T. S. Elliot
|
|
|
|
|
You too, hey!?!
|
|
|
|
|
I often note that my own code is outdated, overcomplicated and needing rewriting.
|
|
|
|
|
I do like looking at my clean, simple, maintainable code.... but then I have to move on, and as I press the enter key I add yet another line of code to the maintenance nightmare.
|
|
|
|
|
It takes longer... but it still happens occasionally.. mostly because I do thing completely differently later...
|
|
|
|
|
Being paid per line of code has all sorts of ramifications.
|
|
|
|
|
You're missing the Code==code check part. But yes, it does look like it's overly complicated and can be simplified.
|
|
|
|
|
I am not!
We got an item from a list.
We pass the id (aka code) of the object to another method
the other method use the id to lookup the (original) item from the list
I can simplify by directly using the original item
|
|
|
|