Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm not entirely sure what that would exactly mean, but I can think of two answers, one philosophical and one technical:

(1) Philosophically, Erlang borrows a lot from Prolog while Elixir borrows a lot from Ruby. For some programmers (dilettantes like myself included), that relative familiarity is a fairly big win. Go doesn't have the same "weird syntax" drawback; it's pretty easy for anyone familiar with C-like languages to pick up the basics virtually on sight.

(2) Technically, Elixir is another language for the Erlang VM, like Scala and Clojure are other languages for the Java VM. But Go doesn't have a VM; its compiler produces native code. So there's no way to produce something that's strictly comparable. You could write a preprocessor that translates an entirely new syntax into Go, but that wouldn't be Go's Elixir, it would be Go's CoffeeScript.



> Go's CoffeeScript

As someone terrified of lower level languages (I'm a somewhat JR dev, used to working with fun things like Python, Ruby, Elixir and JS) this would kind of be really nice. Mostly maps.


There are some languages that transpile to Go:

Have: http://havelang.org/ with generics

Godzilla: https://github.com/jingweno/godzilla ES2015 to Go

I didn't try any of them, nor Go itself.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: