Re: [Python-ideas] PEP 8 update on line length

2019-02-19 Thread simon.bordeyne
I find that 100 to 120 characters is ideal as far as line length goes. In my opinion, splitting lines is much worse in terms of cognitive burden than just a longer line. On top of that, it's not uncommon to reach 6, even 7 indentation levels. All it takes is a loop in a loop (looping through an

Re: [Python-ideas] Possible PEP regarding the use of the continue keyword in try/except blocks

2019-01-06 Thread simon.bordeyne
I knew that you can just chain try/except blocks, and it's how I do it now, but the example I provided wasn't very realistic. Take for example the initialization of a class from a config file, config file which may or may not have certain keys in it. With many keys, it is very inconvenient to ch