thanks for your article.
I particularly like your final thoughts, expecially "we named our list colors (plural) and the variable in our for loop as color (Singular)".
I always do this intuitively and now I'm happy to read that this is a best practice :D!
Hello hrishikesh1990,
thanks for your article.
I particularly like your final thoughts, expecially "we named our list colors (plural) and the variable in our for loop as color (Singular)".
I always do this intuitively and now I'm happy to read that this is a best practice :D!
Glad to hear that. Indeed, it's a good practice and would significantly increase the readability of the code.