Re: Coding style
- From: "tac-tics" <tactics40@xxxxxxxxx>
- Date: 17 Jul 2006 09:28:37 -0700
Or even just:
lst = []
;-)
Indeed.
I'd say the second one. Empty lists are not false. They are empty. Long
live dedicated boolean data types.
.
- Follow-Ups:
- Re: Coding style
- From: Steve Holden
- Re: Coding style
- From: dwelch91
- Re: Coding style
- References:
- Coding style
- From: PTY
- Re: Coding style
- From: Simon Brunning
- Coding style
- Prev by Date: Recursive function returning a list
- Next by Date: using logger module
- Previous by thread: Re: Coding style
- Next by thread: Re: Coding style
- Index(es):
Relevant Pages
|