logoalt Hacker News

Neywinylast Sunday at 3:01 AM1 replyview on HN

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.


Replies

0xfadedlast Sunday at 3:11 AM

Hahaha thanks, I never noticed that. If I ever print it out and frame it I'll be sure to fix it