News for hackers. Stuff that matters.
Re:Elixir Design Goals (2013) by _asummers on Friday December 23, 2016 @09:52PM (#13248328)
You have two -- charlists like you're describing, which are just linked lists of characters under the hood and UTF-8 binaries. Charlists are denoted with single quotes and the UTF-8 ones are denoted with double quotes. Truthfully, I reach for the UTF-8 ones most of the time, but you can get some good performance gains in e.g. template string building in web frameworks if you use charlists. In Erlang, all the strings work like charlists FWIU, so they need to exist at least in some capacity for interop reasons.

http://elixir-lang.org/getting-started/binaries-strings-and-...

Re:Elixir Design Goals (2013) by anuragsoni on Friday December 23, 2016 @09:56PM (#13248343)
Are you thinking of IO lists[0] when you talk about templates with respect to web frameworks?

[0] https://www.bignerdranch.com/blog/elixir-and-io-lists-part-2...

Re:Elixir Design Goals (2013) by _asummers on Friday December 23, 2016 @09:59PM (#13248351)
I totally am and now I look silly :) Good catch.
Re:Elixir Design Goals (2013) by anuragsoni on Friday December 23, 2016 @10:01PM (#13248357)
Not at all :) If you haven't read that post by bignerdranch, i'd definitely recommend it. It was interesting read (both parts 1 and 2)