TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

How to Learn Solidity: The Ultimate Ethereum Coding Guide

133 点作者 PetrolMan将近 8 年前

8 条评论

kefka将近 8 年前
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 未加载
otoburb将近 8 年前
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 未加载
buttershakes将近 8 年前
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 未加载
woodandsteel将近 8 年前
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 未加载
OrangeTux将近 8 年前
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>
charlescearl将近 8 年前
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.
Principe将近 8 年前
Now this truly is a job for the future..
rboyd将近 8 年前
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.