News for hackers. Stuff that matters.
Re:Ethereum is Doomed by dkarapetyan on Monday June 20, 2016 @09:38PM (#11942930)
This doesn't sound right to me. Contract law should not require turing completeness. First order logic should be more than sufficient. How does having a loop in contract law make any sense?
Re:Ethereum is Doomed by wyager on Tuesday June 21, 2016 @12:52AM (#11943577)
There are also a class of total languages (Coq, Agda, Idris) that are guaranteed to terminate but admit (polymorphic) recursion. This is stronger than FOL but weaker than turing-completeness, and certainly sufficient to implement any feasible contract.
Re:Ethereum is Doomed by dkarapetyan on Tuesday June 21, 2016 @12:57AM (#11943598)
I agree. I said first-order logic because I think it is more accessible. Coq, Agda, Idris, etc. employ I think some pretty sophisticated type theory and that would all have to be packaged up in a way that is accessible to an average programmer.
Re:Ethereum is Doomed by wyager on Tuesday June 21, 2016 @12:58AM (#11943602)
> in a way that is accessible to an average programmer.

The average programmer should not be writing multi-million-dollar contracts.

Re:Ethereum is Doomed by Paradigma11 on Tuesday June 21, 2016 @07:45AM (#11944987)
But : https://en.wikipedia.org/wiki/Solidity "As specified by Wood it is designed around the ECMAScript syntax to make it familiar for existing web developers;"
Re:Ethereum is Doomed by dkarapetyan on Tuesday June 21, 2016 @01:07AM (#11943627)
I don't think accessibility is a bad thing. I think computing, its practice and theory, should be taught the same way we teach literacy. I didn't mean "average" as in "incompetent". If writing contracts was as simple as writing a few lines of code in some formal language that didn't require a law or finance degree then I would consider that to be a good thing. It would be even better if the system was designed from first principles with solid theory backing it.
Re:Ethereum is Doomed by wyager on Tuesday June 21, 2016 @01:11AM (#11943638)
I totally agree, but the reality is that in order to write contracts that are sure to be correct, you need a level of expertise that involves much more work than just learning how to write programs. Knowing the syntax and usage of a rigorously-typed language like Agda is the easy part.
Re:Ethereum is Doomed by kowdermeister on Tuesday June 21, 2016 @05:36AM (#11944577)
Then the platform is flawed. Average programmers should be able to understand it easily.

It's not that hard, some wants X and some wants Y in exchange.

I'm not a lawyer but I write contracts with my clients. If you keep things simple it should fit most people. making g smart contracts complicated you keep it in the area of a small elite who are knowledgeable of playing safe with it.

I wold go as far as make it as simple as HTML.

Re:Ethereum is Doomed by wyager on Tuesday June 21, 2016 @01:03PM (#11947267)
That's what standardized contracts are for. Tellers don't write the legalese on your credit card receipt. They just print it out.
Re:Ethereum is Doomed by plaguuuuuu on Tuesday June 21, 2016 @01:49AM (#11943744)
I agree. Furthermore, the notion of contracts that cannot be specified in first-order logic seems relatively dangerous to me.
Re:Ethereum is Doomed by mbrock on Tuesday June 21, 2016 @07:45AM (#11944983)
Could you expand on how one would specify DAO-like contracts with only first-order logic?
Re:Ethereum is Doomed by conception on Tuesday June 21, 2016 @12:39AM (#11943535)
Would regular payments based on criteria be an example? A paycheck basically.
Re:Ethereum is Doomed by naasking on Tuesday June 21, 2016 @09:43AM (#11945515)
This argues for a temporal logic, not for recursion. Something like: http://szabo.best.vwh.net/contractlanguage.html