|
Munchies_Matt wrote: When hungry the brain has adapted, through evoloution, to be more inventive, creative, sharper, about getting more food.
Unfortunately I don't require much brainpower when I'm hungry to figure out how to get out of my seat and locate the fridge.
|
|
|
|
|
CodeWraith wrote: All my cats were like that. All they ever used their brains for was figuring out what to eat next or to find the best place to sleep. As opposed to normal cats that are always trying to figure out how to take over the world?
Everyone is born right handed. Only the strongest overcome it.
Fight for left-handed rights and hand equality.
|
|
|
|
|
I cannot think properly if am hungry
|
|
|
|
|
I find I get hungrier after eating, particularly for sweet things.
Anyway, probably the noise your stomach is making!
|
|
|
|
|
Somebody CC: this science to Africa.
|
|
|
|
|
Sylvester will be disapointed, but Walter O'brien will be OK.
CQ de W5ALT
Walt Fair, Jr., P. E.
Comport Computing
Specializing in Technical Engineering Software
|
|
|
|
|
bool myVar = (value < 0)? true : false;
It's like coming home at night and finding you put the cereal in the fridge and the milk in the cupboard.
[Edited twice to remove the mistakes from the mistake. A new record]
cheers
Chris Maunder
modified 5-Feb-18 9:28am.
|
|
|
|
|
I've seen this way too many times than I care to count.
The funny thing is that visual studio points it out to the developer.
I am not the one who knocks. I never knock.
In fact, I hate knocking.
|
|
|
|
|
GKP1992 wrote: The funny thing is that visual studio points it out to the developer
Not to me it doesn't (and I just double checked)
cheers
Chris Maunder
|
|
|
|
|
GKP1992 wrote: The funny thing is that visual studio points it out to the developer.
Not that I recall. However, Re-Sharper does.
|
|
|
|
|
I have SonarLint installed so, yeah forgot to mention that. You can slap me too if you want.
I remember this because I have seen legacy code like this,
bool someVariable;
...
...
bool someOtherVariable = someVariable == true ? true : false;
But I slapped myself over this too.
I am not the one who knocks. I never knock.
In fact, I hate knocking.
|
|
|
|
|
|
Even my mistakes have mistakes. Fixed. (so to speak)
cheers
Chris Maunder
|
|
|
|
|
And people wonder why Web apps are so horrible...
|
|
|
|
|
So you finally tried switching it off and on!
... such stuff as dreams are made on
|
|
|
|
|
I am very talented in turning honest mistakes into bad code.
CQ de W5ALT
Walt Fair, Jr., P. E.
Comport Computing
Specializing in Technical Engineering Software
|
|
|
|
|
Sure it compiles, but it was silly because the first expression has already created boolean result.
|
|
|
|
|
My mom would always put Ice Cream in the fridge. Now I always get it for her.
What do you get when you cross a joke with a rhetorical question?
The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
Do questions with multiple question marks annoy you???
|
|
|
|
|
Also, Eel slap![^]
What do you get when you cross a joke with a rhetorical question?
The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
Do questions with multiple question marks annoy you???
|
|
|
|
|
But Nobody Slapped him. Slap!
|
|
|
|
|
Slap and the Stick = SlapStick
|
|
|
|
|
Never trusted the ? operator in any language... too many questions(?) when you use the ? operator
|
|
|
|
|
Why? Value can be greater or lesser than 0 unless it is unsigned.
|
|
|
|
|
I see you are the one who write that code
|
|
|
|
|
How would you rewrite it? (I dont actually get into 'coding', I am far more an architectural engineer. )
|
|
|
|