News for hackers. Stuff that matters.
Re:Elixir Design Goals (2013) by qaq on Friday December 23, 2016 @09:47PM (#13248309)
those exist for compatibility with Erlang. Elixir strings are UTF-8 encoded binaries.
Re:Elixir Design Goals (2013) by querulous on Saturday December 24, 2016 @02:06AM (#13248959)
erlang 'strings' are utf-8 encoded binaries also, they just have slightly terrible syntax
Re:Elixir Design Goals (2013) by jeremyjh on Saturday December 24, 2016 @09:03AM (#13249785)
This is incorrect. In erlang the binary type is like a blob or byte array. Strings are linked lists of individual code points. Elixir encodes strings in erlang binaries.
Re:Elixir Design Goals (2013) by angersock on Saturday December 24, 2016 @03:15AM (#13249071)
Not the lists of integers that happen to be characters.