ethereum / ethereum-org

[ARCHIVED] ethereum.org website from 2016-2019. See https://github.com/ethereum/ethereum-org-website for current version.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The tutorials do not respect solidity's style guide

thibautvdu opened this issue · comments

Hello everyone,

I'm new to solidity and I went through the tutorials.
I was wondering : is the style guide outdated/irrelevant or are all the tutorials not respecting ethereum.org's own standards ?

The naming conventions, wrapped functions indentations, etc. are contradictory with the guide.
I believe good coding style in the tutorials is as if not more important as the guide itself. Let me know if I can go ahead and submit corrections or if the guide is to be rewritten.

I had a similar problem with truffle compile. It complained about having the constructor functions named after the contract's name, not being named constructor().