Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
Neywiny
5mo ago
0 comments
Save
Share
Looks like solid code. My only gripe is the shadowing of x. I would prefer to see `for _ in range`. You do redefine it immediately so it's not the most confusing, but it could trip people up especially as it's x and not i or something.
0 comments
1 comments · 1 top-level
top
newest
oldest
0xfaded
5mo ago
Hahaha thanks, I never noticed that. If I ever print it out and frame it I'll be sure to fix it
j
/
k
navigate · click thread line to collapse