Encapsulation, inheritance and polymorphism
Robert Miles
robertmiles at teranews.com
Sun Aug 19 01:21:48 EDT 2012
- Previous message (by thread): Re: Welcome to: ==?==?UTF-8?Q? ((( http://blueshoptrade.?==?UTF-8?Q?com/ ))) ==== Air jord0n(1-24)?==?UTF-8?Q?shoes $33 Hand bags(C0ac?==?UTF-8?Q?h l v f e n d i d& g) $3?==?UTF-8?Q?5 Tshirts (ed hardy,laco?==?UTF-8?Q?ste) $16 Jean(True Religio?==?UTF-8?Q?n,ed hardy,coogi) $30 Su?==?UTF-8?Q?n glasses(Oakey,C0ach,gucci?==?UTF-8?Q?,A r m a i n i) $16 New era ?==?UTF-8?Q?cap $15 Bikini (Ed har?==?UTF-8?Q?dy) $25 Jewel ry (Tiffan?==?UTF-8?Q?y,Pondora,Chanel...)$20 ?==?UTF-8?Q?FREE sHIPPING,ACCEPT PYAPAL ?==?UTF-8?Q?PAYMENT AND CREDIT CARDS DELI?==?UTF-8?Q?VERY TO YOU DOOR TO DOOR. ?==?UTF-8?Q?== ((( http://www.blueshop?==?UTF-8?Q?trade.com?==?UTF-8?Q?/ ))) ==== == ((( http://www.blueshoptrad?==?UTF-8?Q?e.com/ )))?==?UTF-8?Q? ==== == ((( http://?==?UTF-8?Q?www.blueshoptrade.com/ ?==?UTF-8?Q?))) ==== == ((( http://www.?==?UTF-8?Q?blueshoptrade.com/ ))) ===?==?UTF-8?Q?= == ((( http://www.blue?==?UTF-8?Q?shoptrade.com/ ))) ==== ==?==?UTF-8?Q? ((( http://www.bluesho?==?UTF-8?Q?ptrade.co?==?UTF-8?Q?m/ ))) ==== == ((( http://www.blueshoptra?==?UTF-8?Q?de.com/ ))?==?UTF-8?Q?) ==== == ((( http:/?==?UTF-8?Q?/www.blueshoptrade.com/?==?UTF-8?Q? ))) ====
- Next message (by thread): Encapsulation, inheritance and polymorphism
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
On 7/23/2012 11:18 AM, Albert van der Horst wrote:
> In article <5006b48a$0$29978$c3e8da3$5496439d at news.astraweb.com>,
> Steven D'Aprano <steve+comp.lang.python at pearwood.info> wrote:
> <SNIP.
>> Even with a break, why bother continuing through the body of the function
>> when you already have the result? When your calculation is done, it's
>> done, just return for goodness sake. You wouldn't write a search that
>> keeps going after you've found the value that you want, out of some
>> misplaced sense that you have to look at every value. Why write code with
>> unnecessary guard values and temporary variables out of a misplaced sense
>> that functions must only have one exit?
>
> Example from recipee's:
>
> Stirr until the egg white is stiff.
>
> Alternative:
> Stirr egg white for half an hour,
> but if the egg white is stiff keep your spoon still.
>
> (Cooking is not my field of expertise, so the wording may
> not be quite appropriate. )
>
>> --
>> Steven
>
> Groetjes Albert
Note that you forgot applying enough heat to do the cooking.
- Previous message (by thread): Re: Welcome to: ==?==?UTF-8?Q? ((( http://blueshoptrade.?==?UTF-8?Q?com/ ))) ==== Air jord0n(1-24)?==?UTF-8?Q?shoes $33 Hand bags(C0ac?==?UTF-8?Q?h l v f e n d i d& g) $3?==?UTF-8?Q?5 Tshirts (ed hardy,laco?==?UTF-8?Q?ste) $16 Jean(True Religio?==?UTF-8?Q?n,ed hardy,coogi) $30 Su?==?UTF-8?Q?n glasses(Oakey,C0ach,gucci?==?UTF-8?Q?,A r m a i n i) $16 New era ?==?UTF-8?Q?cap $15 Bikini (Ed har?==?UTF-8?Q?dy) $25 Jewel ry (Tiffan?==?UTF-8?Q?y,Pondora,Chanel...)$20 ?==?UTF-8?Q?FREE sHIPPING,ACCEPT PYAPAL ?==?UTF-8?Q?PAYMENT AND CREDIT CARDS DELI?==?UTF-8?Q?VERY TO YOU DOOR TO DOOR. ?==?UTF-8?Q?== ((( http://www.blueshop?==?UTF-8?Q?trade.com?==?UTF-8?Q?/ ))) ==== == ((( http://www.blueshoptrad?==?UTF-8?Q?e.com/ )))?==?UTF-8?Q? ==== == ((( http://?==?UTF-8?Q?www.blueshoptrade.com/ ?==?UTF-8?Q?))) ==== == ((( http://www.?==?UTF-8?Q?blueshoptrade.com/ ))) ===?==?UTF-8?Q?= == ((( http://www.blue?==?UTF-8?Q?shoptrade.com/ ))) ==== ==?==?UTF-8?Q? ((( http://www.bluesho?==?UTF-8?Q?ptrade.co?==?UTF-8?Q?m/ ))) ==== == ((( http://www.blueshoptra?==?UTF-8?Q?de.com/ ))?==?UTF-8?Q?) ==== == ((( http:/?==?UTF-8?Q?/www.blueshoptrade.com/?==?UTF-8?Q? ))) ====
- Next message (by thread): Encapsulation, inheritance and polymorphism
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Python-list
mailing list