|
|
|
|
|
by andrewcooke
4960 days ago
|
|
ok, so i wrote some code yesterday. i didn't write it expecting anyone to read it (i mean, not critically on hn), and it's not as good as i would like, but it has no comments (apart from at the top of the file explaining how to use the program). so, people who are saying "just comment it" - what would make a big difference to this code? https://github.com/andrewcooke/amcl/blob/master/amcl.py |
|
Second, I thought the code was pretty clear except for the refresh function in the TextLine and BarLine classes. The only other thing that could use a comment was the track_data function to show what the string looks like that is being returned.