General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
Sab S
ByteByteGo
comments
Comments by "Sab S" (@skyhappy) on "10 Coding Principles Explained in 5 Minutes" video.
Comments are for speed also. Id rather read a comment than a whole block of code. Too much comments is better than too little. Be generous to the next person
2
@TrungNguyen-mj2id I'm not sure how much code you've written. There are always blocks of code that should be in one function and breaking it up only breaks the flow. 1 simple comment allows someone to skip reading 10-20 lines of code. It's much more read optimized
2
@TrungNguyen-mj2id When I say a comment allows someone to skip reading code, I know moving it into the function does the same thing but if you want to see a detail in that function, then going in and out of the smaller function is a bit of a hassle. And you've been programming for longer than I have so I will take note of your view. I will try both ways. Thx for ur viewpoint
2