Some hint about your variable | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
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 Respostas
+ 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