On Sun, 7 Feb 2021 at 23:55, Greg Ewing <greg.ew...@canterbury.ac.nz> wrote: > > On 8/02/21 6:59 am, Christopher Barker wrote: > > > I find myself reading entire files into memory and then processing > > them, so as to avoid having to extra-indent all the processing code. > > I don't know why some people seem to be so afraid of > indentation levels. Remember, you don't *have* to indent > by 4 spaces. I often write Python with 2-space indents, > which is quite readable and gives me twice as many > indentation levels to play with.
My preferred option is to use functions. I would rather not have too many levels of indentation regardless of how much actual horizontal space is involved. -- Oscar _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/5V4LRJMCIW4NMZS5YPE5EKDUM5BS5B24/ Code of Conduct: http://python.org/psf/codeofconduct/