But I think it was more relevant years ago. These days I see a lot of people using code formatters.
But I think it was more relevant years ago. These days I see a lot of people using code formatters.
It works in practice, same difference to me tbh.
Reading Python has always been a bit of a headache for me, but that probably has as much to do with the lack of type annotations as it does the lack of braces.
However, languages that have a line length limit are the blight of them. There isn't a python formatter that won't make everything mush. My if clause that is 81 chars wide doesn't need to be broken up. Similar, my strings don't need to be reflowed.
Go fmt ignores line length, and always produces a formatted file that is pretty as a result.
I don't like long lines, but reflowing logic is way to aggressive in these formatters.