solidity quick start
Keywords for solidity
mapping ( - use to express we're going to map 'KeyType' to get the intended 'ValueType'. We will use address as a key and we get Voter type in return.
payable - if a function supports payment (transfer / receive payment)
msg.sender is the current account interacting with a transaction. Data type is address.
A very simple, get / set contract property example :-
Coin balance example.
In this example, solidity code allows user to mint / create coins and then keep track it it. A call to 'coinbalance' you will be able to query amount in an address.
Some common global variables / terms
More complex example