While / Until
-
I think [or I hope] that we all know the difference between while and until, both in English and Programese. Well Mrs Wife, after too many years married to me, still gets them the wrong way round. Mostly she just says while and never uses until. As an example, last night she said "I'm going to read while I go to bed" :confused: I don't know if it's just become so ingrained that it is stuck there or if there's something I can do, short of ECT, to stop her as until she keeps doing it I am getting really annoyed.
-
Well, you forgot a piece of code, but I doubt that it's gonna make any difference in this case:
foreach (MistakeOf wife in Conversation)
{
if (pigs.Fly() || dailyWeatherStatusInHell == Cold)
{
yourFault = false;
wife.ApologizeAndBringConsolationBeer();
break;
}yourFault = true; }
LOL - this is actually more fun than coding for real... :laugh:
Anything that is unrelated to elephants is irrelephant
Anonymous
-----
The problem with quotes on the internet is that you can never tell if they're genuine
Winston Churchill, 1944
-----
I'd just like a chance to prove that money can't make me happy.
Me, all the timeJohnny J. wrote:
foreach (MistakeOf wife in Conversation) { if (pigs.Fly() || dailyWeatherStatusInHell == Cold) { yourFault = false; wife.ApologizeAndBringConsolationBeer(); break; } yourFault = true; }
for(;;)
{
YourFault = true;
}FTFY
CPallini wrote:
You cannot argue with agile people so just take the extreme approach and shoot him. :Smile:
-
I think [or I hope] that we all know the difference between while and until, both in English and Programese. Well Mrs Wife, after too many years married to me, still gets them the wrong way round. Mostly she just says while and never uses until. As an example, last night she said "I'm going to read while I go to bed" :confused: I don't know if it's just become so ingrained that it is stuck there or if there's something I can do, short of ECT, to stop her as until she keeps doing it I am getting really annoyed.
Unless she's reading while she walks to the bed, in which case that's totally correct.
"If you don't fail at least 90 percent of the time, you're not aiming high enough." Alan Kay.
-
I think [or I hope] that we all know the difference between while and until, both in English and Programese. Well Mrs Wife, after too many years married to me, still gets them the wrong way round. Mostly she just says while and never uses until. As an example, last night she said "I'm going to read while I go to bed" :confused: I don't know if it's just become so ingrained that it is stuck there or if there's something I can do, short of ECT, to stop her as until she keeps doing it I am getting really annoyed.
-
Nagy Vilmos wrote:
I'm going to read while I go to bed
Forget the while/until issue - she's still using GOTO!!!!!!
Good catch :thumbsup:
A person who never made a mistake never tried anything new -Einstein, Albert