diff options
| author | Divay Prakash <divayprakash@users.noreply.github.com> | 2018-10-24 11:30:23 +0530 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-10-24 11:30:23 +0530 | 
| commit | adfd3064e52e769dc46f62d8302be7e28be4e48d (patch) | |
| tree | 204d82adc9f82ae4fe377b631a1406b97eb6b11d /solidity.html.markdown | |
| parent | 92022da0a6ea9417521563de9e537f337c426465 (diff) | |
| parent | 8f5a67190705c9a3101653901d8f8a7b48eb1775 (diff) | |
Merge branch 'master' into MarkdownFRChanges
Diffstat (limited to 'solidity.html.markdown')
| -rw-r--r-- | solidity.html.markdown | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/solidity.html.markdown b/solidity.html.markdown index b657b6a1..c0074b33 100644 --- a/solidity.html.markdown +++ b/solidity.html.markdown @@ -111,6 +111,7 @@ contract SimpleBank { // CapWords      /// @return The balance of the user      // 'constant' prevents function from editing state variables;      // allows function to run locally/off blockchain +    // NOTE: 'constant' on functions is an alias to 'view', but this is deprecated and is planned to be dropped in version 0.5.0.      function balance() constant public returns (uint) {          return balances[msg.sender];      } @@ -829,7 +830,6 @@ someContractAddress.callcode('function_name');  ## Additional resources  - [Solidity Docs](https://solidity.readthedocs.org/en/latest/)  - [Smart Contract Best Practices](https://github.com/ConsenSys/smart-contract-best-practices) -- [Solidity Style Guide](https://ethereum.github.io/solidity//docs/style-guide/): Ethereum's style guide is heavily derived from Python's [pep8](https://www.python.org/dev/peps/pep-0008/) style guide.  - [EthFiddle - The JsFiddle for Solidity](https://ethfiddle.com/)  - [Browser-based Solidity Editor](https://remix.ethereum.org/)  - [Gitter Solidity Chat room](https://gitter.im/ethereum/solidity) @@ -850,9 +850,10 @@ someContractAddress.callcode('function_name');  - [Hacking Distributed Blog](http://hackingdistributed.com/)  ## Style -- Python's [PEP8](https://www.python.org/dev/peps/pep-0008/) is used as the baseline style guide, including its general philosophy +- [Solidity Style Guide](http://solidity.readthedocs.io/en/latest/style-guide.html): Ethereum's style guide is heavily derived from Python's [PEP 8](https://www.python.org/dev/peps/pep-0008/) style guide.  ## Editors +- [Emacs Solidity Mode](https://github.com/ethereum/emacs-solidity)  - [Vim Solidity](https://github.com/tomlion/vim-solidity)  - Editor Snippets ([Ultisnips format](https://gist.github.com/nemild/98343ce6b16b747788bc)) | 
