Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
eternauta3k
4y ago
0 comments
Share
Indentation is not the reason why it's hard to autoformat Python code, or any other language for that matter.
0 comments
default
newest
oldest
zem
4y ago
it's definitely a reason for python. consider:
if foo: if bar: do something else: do something else
how would you autoindent that?
squeaky-clean
4y ago
You wouldn't, as that's not a valid python line.
j
/
k
navigate · click thread line to collapse