Can we create any code without creating variables for it? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

Can we create any code without creating variables for it?

?

30th Dec 2016, 1:31 PM
mahesh naandade
mahesh naandade - avatar
2 Answers
+ 3
Sure, maybe a cognitive shift. For example: XOR Swap swaps memory and relies on the ALU.
30th Dec 2016, 8:02 PM
Kirk Schafer
Kirk Schafer - avatar
+ 1
psvm { return; }
30th Dec 2016, 3:25 PM
Heroes Killer
Heroes Killer - avatar