Skip to Content
Ethereum Cookbook
book

Ethereum Cookbook

by Manoj P R
August 2018
Intermediate to advanced
404 pages
11h 19m
English
Packt Publishing
Content preview from Ethereum Cookbook

There's more...

Vyper's goal is to increase security and simplicity while writing smart contracts. To achieve this, the language brings some restrictions when compared with Solidity. These are listed here:

  • Modifiers: Vyper does not support modifiers, because it makes it too easy to write misleading code. Modifiers encourage people to write code where the execution jumps around the file and increases complexity. The recommendation is to write these checks as asserts in functions where they are required.
  • Inheritance: Contract inheritance makes code too complicated to understand, which negatively impacts auditability.
  • Inline assembly: Inline assembly restricts the reader or developer to search for a variable name in order to find all instances ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Building Ethereum Dapps

Building Ethereum Dapps

Roberto Infante
Ethereum For Dummies

Ethereum For Dummies

Michael G. Solomon

Publisher Resources

ISBN: 9781789133998Supplemental Content