3 ms·
Surely you mean Go? There is one for Python, but it's not official.
by kqr 11y ago
Surely you mean Go? There is one for Python, but it's not official.
- kardos 11y agoPython won't run without specified indentation, and leaves no freedom for brace positioning. On the C side, we've accumulated a variety of formatting styles [1]. [1] https://en.wikipedia.org/wiki/Indent_style#Styles https://en.wikipedia.org/wiki/Indent_style#Styles
- yarrel 11y agoYou can automatically format C. Python, not so much.
- kqr 11y agoBoth of you make the mistake of confusing formatting with indentation. Indentation is just a tiny part of formatting. There are tools to automatically format Python (but they do obviously require that the indentation is somewhat correct before you run them) and they work fairly well. :)