TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

How to Learn Solidity: The Ultimate Ethereum Coding Guide

133 pointsby PetrolManalmost 8 years ago

8 comments

kefkaalmost 8 years ago
And remember, that there&#x27;s a special function called VIP() .<p>This is an implied function that wraps around your full code. This is instantiated if&#x2F;when core founders are losing money on a function that possibly had a bug in it. This function returns the wrapped function, under the guise of a new blockchain, with invalidations applied to all &#x27;unintentional&#x27; side effects of bad or buggy code.<p>It happened with the DAO, because founders lost too much money. Just be aware, that VIP() can happen to your code, regardless if your implementation is a bug or intentional. Wrong people losing money means VIP() returns successful.
评论 #14490403 未加载
评论 #14490119 未加载
评论 #14495915 未加载
评论 #14490215 未加载
评论 #14494360 未加载
评论 #14492294 未加载
评论 #14491302 未加载
评论 #14502693 未加载
评论 #14492806 未加载
评论 #14491234 未加载
otoburbalmost 8 years ago
One of the main Ethereum co-founders is working on a new experimental contract language targeting the Ethereum Virtual Machine called Viper which still seems to be under relatively active development[1].<p>Why pick Solidity if Viper and other languages like Low-level Lisp-like Language (LLL) by Consensys[2] are around the corner? Or is this just a matter of language flavour similar to how anybody can pick from a plethora of languages targeting the JVM (Clojure, Scala, Java, etc.)?<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;ethereum&#x2F;viper" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ethereum&#x2F;viper</a><p>[2] <a href="https:&#x2F;&#x2F;media.consensys.net&#x2F;an-introduction-to-lll-for-ethereum-smart-contract-development-e26e38ea6c23" rel="nofollow">https:&#x2F;&#x2F;media.consensys.net&#x2F;an-introduction-to-lll-for-ether...</a>
评论 #14490291 未加载
buttershakesalmost 8 years ago
I&#x27;ve been using Solidity for a bit. I wouldn&#x27;t say it is my favorite language, it&#x27;s a bit too javascripty for my personal preference, and its genuinely hard not to introduce subtle security flaws into the code. As a smart contract language it leaves a lot to be desired. That being said, it is really the only game in town on Ethereum right now. The other language implementations on the EVM are in various states of disuse. If you are interested in smart contracts on Ethereum you have to learn Solidity unless you want to reinvent the wheel with your own language implementation.
评论 #14490962 未加载
woodandsteelalmost 8 years ago
Last year I was pretty excited about Ethereum for a few months. But then I got to thinking about the social problems I care about, like how factory and middle class jobs are being wiped out by robots and AI, and I couldn&#x27;t think of how DAPS could fix those sorts of problems on a large scale.
评论 #14494535 未加载
OrangeTuxalmost 8 years ago
FWIW: The current Humble Book Bundle does contains the book Introducing Ethereum and Solidity[1].<p>[1]: <a href="https:&#x2F;&#x2F;www.humblebundle.com&#x2F;books&#x2F;linux-book-bundle" rel="nofollow">https:&#x2F;&#x2F;www.humblebundle.com&#x2F;books&#x2F;linux-book-bundle</a>
charlescearlalmost 8 years ago
Are there any resources more informed readers might suggest for building a &quot;toy&quot; EVM language? Say based on racket? Thought it might be a good way to understand things deeply.
Principealmost 8 years ago
Now this truly is a job for the future..
rboydalmost 8 years ago
bullish. whenever the average HN comment is negative for new tech you know it&#x27;s going to be huge.<p>great guide here too.