Your first cigarette
To be honest, inhaling the fumes from some burning leaves isn't the most natural thing in the world.
Tell us about the first time. Where, when, and who were you trying to show off to?
Or, if you've never tried a cigarette, tell us something interesting on the subject of smoking.
Personally, I've never ever smoked a cigarette. Lung damage from pneumonia put me off.
( , Wed 19 Mar 2008, 18:49)
To be honest, inhaling the fumes from some burning leaves isn't the most natural thing in the world.
Tell us about the first time. Where, when, and who were you trying to show off to?
Or, if you've never tried a cigarette, tell us something interesting on the subject of smoking.
Personally, I've never ever smoked a cigarette. Lung damage from pneumonia put me off.
( , Wed 19 Mar 2008, 18:49)
« Go Back | See The Full Thread
I agree GOTOs are bad form
If your language guarantees left-to-right evaluation of the if clause, you could just do:
if something && something else that can't be tested until the 1st if is true
{
do this
}
else
{
do that
}
...otherwise I much prefer this:
didThis = false
if something
{
if something else that can't be tested until the 1st if is true
{
do this
didThis = true
}
}
if not didThis
{
do that
}
( , Mon 24 Mar 2008, 21:21, Reply)
If your language guarantees left-to-right evaluation of the if clause, you could just do:
if something && something else that can't be tested until the 1st if is true
{
do this
}
else
{
do that
}
...otherwise I much prefer this:
didThis = false
if something
{
if something else that can't be tested until the 1st if is true
{
do this
didThis = true
}
}
if not didThis
{
do that
}
( , Mon 24 Mar 2008, 21:21, Reply)
« Go Back | See The Full Thread