I've started learlearning solidity and have some simple questions:
Why sometimesWhat is it that in contractcontracts people write _varname, but not varname?
In remix i, I can execute inline function (function a() { b=4;functions like } ) why? Function
(function a() { b=4; } )
Why is this possible as the function isn't external or public?If byte32 useinstantiating a variable of type
byte32
requires less gas than stringof typestring
, why do people use stringstrings?
Thanks