Rewriting Variables | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Rewriting Variables

Is there a limit to the number of variable rewrites you can implement?

14th Oct 2019, 9:39 AM
Robert Hughes
Robert Hughes - avatar
3 Answers
0
Nope
14th Oct 2019, 9:50 AM
Trigger
Trigger - avatar
+ 1
Thomas Williams Cool. I understand best practice is to avoid and at least the Variable options are almost limitless
14th Oct 2019, 9:55 AM
Robert Hughes
Robert Hughes - avatar
+ 1
Yep. And unlike many other languages, you dont need to specify its type at declaration. And you can reassign its type
14th Oct 2019, 9:58 AM
Trigger
Trigger - avatar