Some hint about your variable | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Some hint about your variable

Your variable name should be informative. For exemple: If your code about cats , and you have more than 2 different cats, call your variable like this: blackcat = ‘blackcat’ whitecat = ‘whitecat’ not cat1 and cat2 More infomaion becouse after your 1000 lines of code you won't remember what inside your variable

26th Sep 2021, 8:00 AM
Alexander Stukalenko
Alexander Stukalenko - avatar
2 Answers
+ 1
And your question is ❓
26th Sep 2021, 12:12 PM
Simba
Simba - avatar
0
It’s not a question, it’s hint for young developers .
26th Sep 2021, 12:14 PM
Alexander Stukalenko
Alexander Stukalenko - avatar