Fork me on GitHub
#off-topic
<
2017-12-27
>
jgh00:12:03

i thought they just had the one language that could

jgh00:12:13

and that one language is not particularly safe 😛

noisesmith00:12:36

there's a port of racket to etherium with a comical name

andy.fingerhut00:12:37

That is an awesome name choice. Looks like it compiles to JavaScript. I guess JavaScript is the primary language supported by the Ethereum VM?

noisesmith01:12:21

yeah, the etherium language is an ecmascript (or loosely like it) iirc

noisesmith01:12:58

hmm... actually maybe solidity isn't an ecmascript - but it looks and acts a lot like js, and that's on purpose

noisesmith01:12:18

implementing an ECMAscript would be too "polished and professional" for them I guess

noisesmith01:12:41

it's telling to me that given the alternatives of something like pascal that's limited and simplistic, and something like ml that's designed to be easy to reason about, they picked javascript since so many devs know it already

qqq05:12:08

eh, turns out someone already implemented my idea: http://www.newsbtc.com/2017/10/05/million-dollar-homepage-reborn-ethereum-smart-contract-dapp/ no longer any need to learn ethereum scripting

rakyi10:12:06

this looks interesting as a crypto-currency language: https://blockstream.com/2017/10/30/simplicity.html

souenzzo14:12:37

any #javascript hacker here? How to (into {} (map f {"foo" 33})) in ES6 JS? I'm with Object.entries({"foo": 33}).map(f) that results in [["foo", 33]]. Now I want to turn "coll of tuples" in a "object"

noisesmith15:12:08

in google closure there's the goog.object library which is useful

noisesmith15:12:42

goog.object/map

souenzzo15:12:07

Not in the project @noisesmith. Solved with .....reduce(f, {})