News for hackers. Stuff that matters.
Re:Ask HN: As a developer, what attracts you to a platform? by jstewartmobile on Monday October 21, 2019 @01:43AM (#21309601)
Not having the rug pulled out from under me.

- Examples -

C + OS APIs: They can't change things just for fun without inflicting serious self-harm.

Golang: Really great about not breaking things.

- Counterexamples -

Mobile: New bureaucratic hurdles for every freakin' build!

JavaScript+DOM: Caniuse.com hell.

Elixir: Two languages in one, two different string types, and new, exciting, warnings with every release:

    warning: String.strip/1 is deprecated. Use String.trim/1 instead
    warning: Integer.to_char_list/2 is deprecated. Use Integer.to_charlist/2 instead
I'm sure that extra underscore was just killing someone.
Re:Ask HN: As a developer, what attracts you to a platform? by pmontra on Tuesday October 22, 2019 @01:09AM (#21320534)
Yep, the char_list thing is funny and String.trim is a departure from Ruby, which trims with strip().

Anyway, what are the two languages Elixir is made of?

Re:Ask HN: As a developer, what attracts you to a platform? by jstewartmobile on Tuesday October 22, 2019 @03:27AM (#21321109)
It's built on top of Erlang. Many base libs are just pass-throughs to Erlang.