Hacker News new | ask | show | jobs
by whypeoplepeople 3774 days ago
There were tons of techniques to preserve home-made foods - canning, vacuum drying, salt curing, fermentation, etc. - and then someone invented the fridge. What is widely adopted?

As an average developer, I can launch a smart contract with 20 lines of code in Ethereum. I have no idea in earth how to even start writing those things on classic blockchains, let alone prove they work as I expect.

5 comments

> I can launch a smart contract with 20 lines of code in Ethereum.

Meanwhile, everyone is waiting for the first smart contract that is actually useful for something.

Never heard about Arcade City[0]?

0. https://arcade.city/

> I can launch a smart contract with 20 lines of code in Ethereum.

Have you done this before? I tried to learn Ethereum (as an average developer) but it was over my head.

here is the a basic example. https://ethereum.org/greeter

more in depth tutorials exist on ethereum.org

as far as the language goes - that is a very verbose "hello world".

does the level of verbosity decrease as you get into more advanced applications?

Not really, but dApps aren't supposed to have huge source codes. Much more important is having efficient and correct code, because each instruction your contract runs has a cost. If that really annoys you, there are other languages that can be used to build dApps, and more certainly to come.
> I can launch a smart contract with 20 lines of code in Ethereum

Where's the github gist for this?

I think a better comparison would be "commercial mass production of preserved foods vs making them at home". For example, it is easier to buy a can of beans for cooking than it is to grow your own beans, can them, and then use them for cooking. The purchasing being analogous to using Ethereum and the growing and home-canning being analogous to classic blockchains.
In this metaphor, I expected Bitcoin to be canning and Ethereum to be vacuum drying.