Just commented a little bit around the Qt Wallet GUI and Syncing.
It's always nice for new developers to know what everything means :)
Just commented a little bit around the Qt Wallet GUI and Syncing.
It's always nice for new developers to know what everything means :)
I'm a huge proponent of documentation, but I'd like to suggest that if e.g. variable or method names are self-documenting there is no need to add an explicit comment. For example
+ // Window title
windowTitle += " " + networkStyle->getTitleAddText();
This doesn't provide any information. Adding to a variable named windowTitle already implies this. Better would be:
+ // Add the network name to the window title
windowTitle += " " + networkStyle->getTitleAddText();
Comments, and documentation, should be on a higher level of abstractness than the source code.
You're right!
I'll work on it tomorrow :D
I have fixed the Qt Wallet GUI and added more detailed documentation. I'll get to the Syncing now.
@laanwj Everything is now documented so it is not just saying what is already implied :)
I didn't fully document the sync.cpp but the GUI wallet file was. But either was, it is ready for merging :D
Sorry - going to close this. The comments still don't add more information in most cases than is in the code itself, and are sometimes confusing.