Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
eternauta3k
4y ago
0 comments
Save
Share
Indentation is not the reason why it's hard to autoformat Python code, or any other language for that matter.
0 comments
2 comments · 1 top-level
top
newest
oldest
zem
4y ago
· 1 in thread
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