|
Yeah, I though about something like AddIfNegative but it's too long.
Marc
|
|
|
|
|
AddLT0 (Add if Less Than Zero)
|
|
|
|
|
Jochen Arndt wrote: AddLT0
You don't happen to program in assembler do you?
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
|
|
|
|
|
I must confess that I was inspired by some assembler commands like the Microchip decfsz (decrement file skip if zero).
|
|
|
|
|
I do a good bit of maintenance of assmembler code, and darn near all of the labels are beautifully cryptic like that. Switching back and forth between c++ and assmebler is a joy that way.
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
|
|
|
|
|
Make in an acronym:
pAIN
".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 prefer his approach and would call it DeltaOffset.
|
|
|
|
|
That changes the behaviour of the code.
int x = int.MinValue.MinDelta(-1);
int y = int.MinValue.AddIfNegative(-1);
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
You are off course right.
|
|
|
|
|
Frank. Call it Frank.
The language is JavaScript. that of Mordor, which I will not utter here
This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a f***ing golf cart.
"I don't know, extraterrestrial?"
"You mean like from space?"
"No, from Canada."
If software development were a circus, we would all be the clowns.
|
|
|
|
|
I'm Frank!
No, wait -- I'm Tiger Woods, aren't I?
Oh, no, I've got it: I'm Spartacus!
...
Brian?
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
-D***Size
-Asians
-AlphaBetaGamma
-DeltaDelta
-MyFunction1
-Method
-AGreaterB
-Minimi
-IHaveNoIdeaHowToNameThisThing
just to hand you a couple ideas
Rules for the FOSW ![ ^]
if(this.signature != "")
{
MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
}
else
{
MessageBox.Show("404-Signature not found");
}
|
|
|
|
|
HobbyProggy wrote: MyFunction1 That's gotta be the winner!
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
HobbyProggy wrote: MyFunction1
This. Exactly this.
|
|
|
|
|
How could you not call it JustinBeiber?
Sin tack ear lol
Pressing the any key may be continuate
|
|
|
|
|
MinDelta->Fall / MaxDelta->Climb?
|
|
|
|
|
Mladen Janković wrote: MinDelta->Fall / MaxDelta->Climb?
Ooh, I like that!
Marc
|
|
|
|
|
Marc Clifton wrote: Suggestions? ..on a programming question in the lounge?
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Has nobody suggested Shirley yet?
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
My
Bryian Tan
|
|
|
|
|
Without any Humor: Minimize
modified 19-Jan-21 21:04pm.
|
|
|
|
|
0x01AA wrote: Minimize
Ah, I think we have a winner!
Marc
|
|
|
|
|
Bruno
modified 19-Jan-21 21:04pm.
|
|
|
|
|
MinnieBannister
But then you'll have to find a place for a HenryCrun , and maybe an Eccles and a Bluebottle .
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Max - just to confuse everyone
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.
|
|
|
|