The algorithm of success !
-
while(noSuccess)
{
tryAgain();if(dead)
break;
}"If A is a success in life, then A=x+y+z. (Work is x; y is play; and z is keeping your mouth shut.)"
-
while(noSuccess)
{
tryAgain();if(dead)
break;
}"If A is a success in life, then A=x+y+z. (Work is x; y is play; and z is keeping your mouth shut.)"
* polling is inefficient * code implies noSuccess is static (c), at the very least no way to know how it is set or it's scope. * try catch for exception handler is preferred. * dead has no initial condition. please tryAgain() :)
"Sanity is not statistical." - Eric Blair, 1984, Chapter 9
-
while(noSuccess)
{
tryAgain();if(dead)
break;
}"If A is a success in life, then A=x+y+z. (Work is x; y is play; and z is keeping your mouth shut.)"
Looks similar to the algorithm for insanity:
while(unexpectedResult)
{
repeat();if(insane) break;
} -
Looks similar to the algorithm for insanity:
while(unexpectedResult)
{
repeat();if(insane) break;
}while(unexpectedResult || insane)
{
repeat();
}My programming get away... The Blog... DirectX for WinRT/C# since 2013! Taking over the world since 1371!
-
while(noSuccess)
{
tryAgain();if(dead)
break;
}"If A is a success in life, then A=x+y+z. (Work is x; y is play; and z is keeping your mouth shut.)"
One definition of stupidity is to keep repeating something expecting a different result, for example, attempt to take photograph with lens cover on; comes out black; try again; repeat.
- I would love to change the world, but they won’t give me the source code.
-
One definition of stupidity is to keep repeating something expecting a different result, for example, attempt to take photograph with lens cover on; comes out black; try again; repeat.
- I would love to change the world, but they won’t give me the source code.
Einstein said that; Insanity: doing the same thing over and over again and expecting different results.
"If A is a success in life, then A=x+y+z. (Work is x; y is play; and z is keeping your mouth shut.)"
-
Einstein said that; Insanity: doing the same thing over and over again and expecting different results.
"If A is a success in life, then A=x+y+z. (Work is x; y is play; and z is keeping your mouth shut.)"
-
Einstein said that; Insanity: doing the same thing over and over again and expecting different results.
"If A is a success in life, then A=x+y+z. (Work is x; y is play; and z is keeping your mouth shut.)"
Unless of course you're studying quantum mechanics, oh, wait...
"If you don't fail at least 90 percent of the time, you're not aiming high enough." Alan Kay.