Control Structures in Ethereum

Keno Leon
7 min readDec 28, 2017

Listen, I love Ethereum, I think it’s cool as hell, I even wrote a book about it, what I really don’t like is the documentation ( that’s why I wrote the book 🤔 ?) for instance here’s all the documentation on control structures:

Most of the control structures from JavaScript are available in Solidity except for switch and goto. So there is: if, else, while, do, for, break, continue, return, ? :, with the usual…

--

--