Re: Removing None objects from a sequence



Filip Gruszczyński wrote:

I don't mean memory, but space in code ;-)

Your goal should be clarity of code, not saving keystrokes. Writing something that is compact in terms of the amount of code to write does not mean its function is clear or even that it is more efficient to run, for that matter.

--
Erik Max Francis && max@xxxxxxxxxxx && http://www.alcyone.com/max/
San Jose, CA, USA && 37 18 N 121 57 W && AIM, Y!M erikmaxfrancis
God grant me to contend with those that understand me.
-- Thomas Fuller
.



Relevant Pages

  • Re: The difference between two thousand and ones and two thousand one.
    ... >With the entire pre-printed sentence being ... >>> writing strange things on the amount line. ... >> that nobody is likely to forge the pence amount. ... There's isn't any word to draw a line up to - I draw a line to the end ...
    (alt.usage.english)
  • Re: select shows data present but read is blocking - udp
    ... why would this amount of data suddenly vanish again in the ... stable condition until this buffer space is consumed by an actual ... "Ready for writing" means that at least one byte of buffer space is ...
    (comp.unix.programmer)
  • Re: MATRIX PROBLEMS (AGAIN!)
    ... Start off writing a program that works on a small amount of data, ... don't have any idea whether you want integers in your matrix or strings. ... State what you intend to do with the result, ...
    (comp.lang.ruby)
  • Re: Working quickly between PDF and .tex
    ... Sometimes a petty goat is just a petty goat. ... messages he was globally writing on Usenet, ... Certainly nothing that could amount significantly ... Emacs package called XSymbol worked by changing buffer contents and was ...
    (comp.text.tex)
  • That lovely smell of English Hypocrisy Exposed
    ... Simon Stovin-Bradford, remember writing this little gem...... ... My reply would be to look at the amount of penalties awarded against ... Aus in ...
    (rec.sport.rugby.union)