3 ms·
Ethereum's "quirks and pitfalls" are a result of people coming into it thinking that their mental execution model of most normal programming languages will suff
by derefr 9y ago
Ethereum's "quirks and pitfalls" are a result of people coming into it thinking that their mental execution model of most normal programming languages will suffice, when the execution model of the Ethereum VM is quite different (precisely because it is "written for moving money around", but also because its computations are only run by the will of random miners, who like to get paid.)
Once you understand the Ethereum abstract machine (i.e. the thing described in the http://yellowpaper.io http://yellowpaper.io), the "quirks and pitfalls" of the programming languages built on it (Solidity, LLL, Serpent, Mutan) become more like obvious design constraints.
- Karrot_Kream 9y agoAgreed. I'm not a JS fan by far, but I don't see anything wrong with Solidity (nor am I a huge fan). The Solidity pitfalls are just the pitfalls offered by the EVM. I agree that tooling should improve to highlight potential failures, but to treat Solidity like JS is a mistake.