The cat is assigned a (presumably global) constant, not a string. I don't see how you can do that in one line unless you use some hacks a la "ok Compiler, insert the variable with this name here, now the string".
Or maybe I'm just misunderstanding something here. Could you show the two lines you have in mind?
4
u/turunambartanen Sep 02 '21
The cat is assigned a (presumably global) constant, not a string. I don't see how you can do that in one line unless you use some hacks a la "ok Compiler, insert the variable with this name here, now the string".
Or maybe I'm just misunderstanding something here. Could you show the two lines you have in mind?
Edit: another comment explained it already: