News for hackers. Stuff that matters.
Re:Oracles, or why smart contracts still haven’t changed the... by Animats on Saturday September 22, 2018 @02:38PM (#18047320)
It's bad software. "Smart contracts" should never have been general purpose byte-code programs. They should have been something much simpler and more declarative, like a decision table.[1] Those simple tables are readable and predictable. They can even be tested exhaustively.

Yes, someone will have a use case where this can't do (obscure thing) nobody really needs to do. The way to design this is to try to express common contract forms - buying, selling, lending, renting, betting, derivatives - and make sure you have the expressive power for that. Then stop.

A decision table would be an improvement over some current written contracts. A friend once asked me to read over a complex currency swap derivative contract, written in English and I found a clause that was the opposite of what it should have been.

(And no, layering another language layer on top of the byte code, and a proof system on top of that, is not the answer.)

[1] https://en.wikipedia.org/wiki/Decision_table

Re:Oracles, or why smart contracts still haven’t changed the... by chrisco255 on Saturday September 22, 2018 @04:30PM (#18047827)
You have no idea how smart contracts are going to be used and implemented. A platform that makes a bunch of assumptions is DOA. I think that the answer is something more akin to what Ethereum already does, you open source protocols like ERC20 (tokens) and most dapps use those to achieve that functionality. You don't limit yourself and by extension, innovation with non-Turing complete expressiveness.
Re:Oracles, or why smart contracts still haven’t changed the... by Animats on Sunday September 23, 2018 @12:13AM (#18049363)
When you're talking about serious money, you do. Remember the DAO.