Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(no) fast boolean evaluation ?
- From: joshua at eeinternet.com (Joshua J. Kugler)
- Subject: (no) fast boolean evaluation ?
- Date: Thu, 02 Aug 2007 16:00:17 -0800
On Thursday 02 August 2007 15:19, Evan Klitzke wrote: >> I discovered that boolean evaluation in Python is done "fast" >> (as soon as the condition is ok, the rest of the expression is ignored). > > This is standard behavior in every language I've ever encountered. Then you've never programmed in VB (at least 6, don't know if .net still does this). Nested IF statements. AAAAAAAAAAAAAAAAAAAACK! Thankfully, I program mostly in Python these days. Haven't touched VB in years. Maybe you should have said: "This is standard behavior in every real programming language." There, that should start a flame war. :) j -- Joshua Kugler Lead System Admin -- Senior Programmer http://www.eeinternet.com PGP Key: http://pgp.mit.edu/ ?ID 0xDB26D7CE
- References:
- (no) fast boolean evaluation ?
- From: Stef Mientki
- (no) fast boolean evaluation ?
- From: Evan Klitzke
- (no) fast boolean evaluation ?
- Prev by Date: Tkinter or wxpython?
- Next by Date: frequency analysis of a DB column
- Previous by thread: (no) fast boolean evaluation ?
- Next by thread: (no) fast boolean evaluation ?
- Index(es):