Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
aldanor
· 6y ago · 0 comments
In Python, it's even worse, since there's no braces and not returning anything implicitly returns None.
Comments
[–]
deckiedan
6y ago
I always take this as Python's way of strongly discouraging deeply nested and overly long functions... ( I realise this might be Stockholm syndrome...)
[–]
empthought
6y ago
Mypy fixes the second problem, at least.
[–]
rmtech
6y ago
Python at least has if ... elif ... else to deal with it.