Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

Improve Solidity standard lib (and docs). #25

Closed
androlo opened this issue Sep 1, 2015 · 2 comments
Closed

Improve Solidity standard lib (and docs). #25

androlo opened this issue Sep 1, 2015 · 2 comments

Comments

@androlo
Copy link

androlo commented Sep 1, 2015

https://github.com/ethereum/wiki/wiki/Solidity-standard-library

owned and mortal is still the only things under contracts, and mortal (which extends owned) does not use the modifier that owned provides.

Under PoC there are loads of interface contracts which does not use ; but empty bodies, so guessing they haven't been updated since that was enabled.

Leading characters in contract names are sometimes upper-case, sometimes lower-case. No convention.

Also some of it doesn't compile since it uses old types like string3.

@chriseth
Copy link
Contributor

chriseth commented Sep 7, 2015

I think the idea behind casing is that properties are lower case (owner, mortal) and real contracts are upper case.

Once we are at a stage where a standard library actually makes much more sense (e.g. when we have templates, library contracts and a linker stage in the compiler), the standard library will grow. Please feel free to suggest code to be included in this standard library, the community can be of much help there and probably has also more experience in writing contracts than we do.

@androlo
Copy link
Author

androlo commented Sep 10, 2015

saw new page, nice.

@androlo androlo closed this as completed Sep 10, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants