0xPrateek / Photoroid

Fastest Image scanner using openCV & Dhash :rocket:
GNU General Public License v3.0
45 stars 21 forks source link

Adding comments in code for increasing code readbility #5

Closed 0xPrateek closed 5 years ago

ghost commented 5 years ago

Hi prateek, it only makes sense if the person who wrote the code writes the comments. People may misinterpret in general. So use docstrings in each function. I think you can use classes. Just a suggestion.

0xPrateek commented 5 years ago

I agree with you. But, the reason I have created this issue is that I want some beginner friendly issues so that beginners can also start their contribution to open source. Yes, we can use classes but I mostly prefer to use classes when there is some good number of functions written in the program.