Functions are a core feature of any programming language. They allow us to simplify our codebase by writing code once inside a function. And then calling that function whenever we need it.

In Solidity, functions can read, write, change, and store data in the smart contract. You can pass arguments (parameters) into a function. And that function can return values if you want it to.

#ethereum #solidity #programming #blockchain

Events vs Functions in Solidity
4.40 GEEK