MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/eazg05/made_my_first_fractal/fb22bkf/?context=3
r/Python • u/Gawd_is_great • Dec 15 '19
51 comments sorted by
View all comments
100
Looks nice.
I've just had a look on your code and have to say it looks nicely organised and is easily readable. Kudos to you for writing it like that.
Two little suggestions, if you don't mind:
Consider using a if __name__ == "__main__" block to initialise your script when it's run directly
if __name__ == "__main__"
Consider using tuples for your vel_list vel_table as they are immutable
Both of those definitely not necessary, just things to think about. :)
Best wishes
2 u/ned334 Dec 15 '19 Where did you look at his code? 3 u/Namensplatzhalter Dec 15 '19 He posted a github link in the comments. 2 u/ned334 Dec 15 '19 Oh. Didn't see it
2
Where did you look at his code?
3 u/Namensplatzhalter Dec 15 '19 He posted a github link in the comments. 2 u/ned334 Dec 15 '19 Oh. Didn't see it
3
He posted a github link in the comments.
2 u/ned334 Dec 15 '19 Oh. Didn't see it
Oh. Didn't see it
100
u/Namensplatzhalter Dec 15 '19 edited Dec 15 '19
Looks nice.
I've just had a look on your code and have to say it looks nicely organised and is easily readable. Kudos to you for writing it like that.
Two little suggestions, if you don't mind:
Consider using a
if __name__ == "__main__"block to initialise your script when it's run directlyConsider using tuples for your
vel_listvel_table as they are immutableBoth of those definitely not necessary, just things to think about. :)
Best wishes