If vs While - What's the difference?
if | while |
Supposing that, assuming that, in the circumstances that;
Supposing that;
Although;
(computing) In the event that a statement is true (a programming statement that acts in a similar manner).
Whether;
* 1715–1717 , , Alma; or, The Progress of the Mind , Canto III:
(usually hyperbolic) Even if; even in the circumstances that.
* 2004', (singers), “'''If It’s The Last Thing I Do” (song), in ''You Do Your Thing (album):
(informal) An uncertainty, possibility, condition, doubt etc.
* 1709, Susannah Centlivre, The Busy Body'', Act III, in John Bell (ed.), ''British Theater , J. Bell (1791),
* 1791 January, "Richard?on’s Chemical Principles of the Metallic Arts''", in ''The Monthly Review , R. Griffiths,
* {{quote-news, year=2013, date=April 9, author=Andrei Lankov, title=Stay Cool. Call North Korea’s Bluff., work=New York Times
, passage=Even if they managed to strike Japan, the United States or South Korea with nuclear weapons — a big if , given that they do not have a reliable delivery system — they could not save themselves from ultimate defeat.}}
An uncertain duration of time, a period of time.
During the same time that.
* , chapter=12
, title= * 1948 , , North from Mexico / The Spanish-Speaking People of The United States , J. B. Lippincott Company, page 25,
* {{quote-magazine, date=2013-06-07, author=David Simpson
, volume=188, issue=26, page=36, magazine=(The Guardian Weekly)
, title= Although.
* 2013 September 28, (Kenan Malik), "
(Northern England, Scotland) Until.
* Beaumont and Fletcher
As long as.
* I. Watts
To pass (time) idly.
* Longfellow
To loiter.
As an initialism if
is interactive fiction.As a noun while is
an uncertain duration of time, a period of time.As a conjunction while is
during the same time that.As a verb while is
to pass (time) idly.if
English
(wikipedia if)Conjunction
(English Conjunctions)- If it rains, I will get wet .
- I'd prefer it if you took your shoes off.
- He was a great friend, if a little stingy at the bar.
- If A, then B, else C.
- I don't know if I want to go or not.
- Quoth Matthew, “”
- If' it’s the last thing I do / '''If''' it takes me from Tubilo to Timbuktu / '''If''' it’s the last thing I do / I’m gonna dodge every road block, speed trap, county cop / To get my hands on you / ' If it’s the last thing I do.
Usage notes
* Specifically a subordinating conjunction.Derived terms
* iff * if and only if * if clause * if only * as if * even if * if so beAlternative forms
* ifen * iffenNoun
(en noun)page 59,
- Sir Fran.'' Nay, but Chargy, if——— ¶ ''Miran.'' Nay, Gardy, no Ifs'''.——Have I refus'd three northern lords, two British peers, and half a score knights, to have put in your ' Ifs ?
page 176,
- Well might Bergman add, (in his Sciographia,''), “if the compari?on that has been made, &c. be ju?t.” The pre?ent writer makes no ''ifs about the matter, and has ?uperadded a little inaccuracy of his own, […]
citation
Derived terms
* big if *See also
* and * else * false * or * then * trueStatistics
*while
English
Noun
(en noun)- He lectured for quite a long while .
Conjunction
(wikipedia while) (English Conjunctions)Mr. Pratt's Patients, passage=While the powwow was going on the big woman came back again. She was consider'ble rumpled and scratched up, but there was fire in her eye.}}
- While De Anza was exploring the Bay of San Francisco, seeking a site for the presidio, the American colonists on the eastern seaboard, three thousand miles away, were celebrating the signing of the Declaration of Independence.
Fantasy of navigation, passage=Like most human activities, ballooning has sponsored heroes and hucksters and a good deal in between. For every dedicated scientist patiently recording atmospheric pressure and wind speed while shivering at high altitudes, there is a carnival barker with a bevy of pretty girls willing to dangle from a basket or parachute down to earth.}}
London Is Special, but Not That Special," New York Times (retrieved 28 September 2013):
- While Britain’s recession has been deep and unforgiving, in London it has been relatively shallow.
- I may be conveyed into your chamber; I'll lie under your bed while midnight.
- Use your memory; you will sensibly experience a gradual improvement, while you take care not to overload it.
Verb
(whil)- The lovely lady whiled the hours away.
- (Spectator)
