0
Is my code readable?
Hello guys. Can you tell me if my code is readable or not? And can you recommend me how to make it more readable? https://github.com/borislavvv00
4 ответов
+ 3
Borislav Kalinski Comments are best placed when there's something that isn't self-explainatory. For example, if you have a try-catch statement to catch an odd error, it might be good to leave a comment at the top. Also, it's a good idea to comment about what the program as a whole does, as well as individual comments. As a final note, be smart with naming your variables (ex. don't make your variable "cherries" if it denotes the size of a window. Windows are not measured in cherries).
+ 2
Absolutely. Good spacing and indentation. Just don't forget your comments (:
+ 1
Keto Z can you recommend me where and when is good to place comments?
0
It's C++, and C++ isn't readable.
But it seems to me like pretty clean (for C++) code.