Hi, I have several questions with Cadence Tutorial - Hello World.
Do I always need to use
save function to store objects in storage? I thought I can store every objects in my contract and doing it by using
save. But it can be a little bit hard work to
save everything if there’s many objects in my contract.
So I’m wondering if it’s impossible to store objects in storage without
save function, and why this process (use this function to save objects in storage) is designed in Cadence.
What is difference with “@” and “&”?
I found “@” at
and “&” at
I guess both mean PATH, and differences are made from the types of functions(such as
borrow) used…? Do I understand well?
Why does tutorial use
log function in prepare block? I thought prepare block is to get access by using AuthAccount and manage everything associated with storage (e.g.
link function). And using execute block to “execute” something like