+ 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

26th Aug 2017, 9:04 AM
James Barrow
James Barrow - avatar
3 Respuestas
+ 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!
26th Aug 2017, 6:33 PM
André Santos
André Santos - avatar
+ 4
Hmmm...I never think that way but I totaly agree with you. I try to use your opinion and make progress.
26th Aug 2017, 6:43 PM
Urska Kugonic
Urska Kugonic - avatar
+ 3
yes!!!
27th Aug 2017, 8:28 PM
Dmitriu Viktorovich
Dmitriu  Viktorovich - avatar