News for hackers. Stuff that matters.
Re:Ask HN: What would be your stack if you are building an M... by pcthrowaway on Thursday January 26, 2023 @07:45PM (#34541049)
Isn't Elixir a little bit like Ruby though? At least superficially. And it supports metaprogramming like Ruby.

So I'd guess the code would end up looking similar on a lot of teams

Re:Ask HN: What would be your stack if you are building an M... by slindz on Friday January 27, 2023 @01:42AM (#34543313)
There is development joy found in both, but Elixir and the underlying erlang definitely has it's own idioms.

You can know enough to get going quickly, but there's a healthy layer of power that will only come with time.

Re:Ask HN: What would be your stack if you are building an M... by john_the_writer on Friday January 27, 2023 @03:08AM (#34543786)
Took me a year before I found a dev/manager that even scratched at that power. A dev that pushed me to learn it. Before that I was a rails dev writing elixir. :)

I should mention there is no problem not going there. I respect my teammates. Ruby/Rails is a great way to get things done. I would 100% use it as my MVP lang.

Re:Ask HN: What would be your stack if you are building an M... by john_the_writer on Friday January 27, 2023 @02:54AM (#34543691)
It's a little bit like ruby.. But

It's not object oriented, it's a functional language. It is polymorphic and all data is immutable. (Edit: actually realised its very much not like ruby, when I re-read this)

What I've seen in most projects is that the awesomeness that is threading (tasks and processes) is not really used. Supervisors aren't built as first class citizens.

I see teams eat the cost of NIH, but not get the benefits of crash fast, crash often.

So yes it does end up looking/smelling like ruby/rails but it really really shouldn't.

“A language that doesn't affect the way you think about programming, is not worth knowing.”

Re:Ask HN: What would be your stack if you are building an M... by doetoe on Friday January 27, 2023 @02:17PM (#34550428)
I like the quote at the end, I would change knowing to learning though