+ 4
Can I make a suggestion? COMMENT COMMENT COMMENT your code
fully document your code. the whole reason behind learning to code on Sololearn is to understand the conventions of coding. To make readable code and comment that code so that others can understand its workings. https://youtu.be/ErW6fEvulAc here is one way to document your code for readability
3 odpowiedzi
+ 4
Great post! One of the more important things relative to programming along with refactoring. In my opinion a readable code is better than a readable comment... I will explain, I think that using explicit names for variables and functions is important to explain WHAT the code is doing, and comments here and there about WHY are you doing it, is better to complement the code. Anyway is always a matter of preference, but the end goal should be always the same, make our codes more clean, simple and readable!
+ 4
Hmmm...I never think that way but I totaly agree with you. I try to use your opinion and make progress.
+ 3
yes!!!