News for hackers. Stuff that matters.
Re:Ask HN: Are you satisfied with Elixir or do you regret ch... by pavel_lishin on Tuesday May 18, 2021 @09:51AM (#27194518)
Don't focus on tooling, focus on their complaints about not having enough senior engineers familiar with the language.

We're in a similar boat. I don't know the full history of how we came to use Elixir, but I would wager that early on in the company, someone really loved it and evangelized it. But now, we don't have that many senior people who know it well. I can count the ones I talk to regularly on one hand, and once I run out of fingers, I'm probably sixth place runner up, which makes me very uncomfortable.

That's why I wouldn't suggest Elixir. Unless you're incredibly sure you won't have significant churn for the lifetime of your business, or have money to burn specifically hiring Elixir folks, I wouldn't recommend it.

Re:Ask HN: Are you satisfied with Elixir or do you regret ch... by whalesalad on Tuesday May 18, 2021 @09:56AM (#27194601)
This is not the fault of Elixir. It’s the fault of trigger happy CTO’s who chase shiny new objects without thinking about the long term, big picture. I’ve made plenty of unsexy decisions when my heart was pulling me in a different direction - because it’s the right thing to do based on the team you have or the direction you’re headed.

Adopting Elixir, like Clojure or Haskell or any of the more esoteric languages is a commitment. Don’t do it if the benefits aren’t there or you aren’t willing to make the investment.

Re:Ask HN: Are you satisfied with Elixir or do you regret ch... by pavel_lishin on Tuesday May 18, 2021 @10:03AM (#27194681)
> This is not the fault of Elixir.

That's very true. But it's still something to consider, especially for OP who's choosing a new language for a new project.

Re:Ask HN: Are you satisfied with Elixir or do you regret ch... by AlchemistCamp on Tuesday May 18, 2021 @10:24AM (#27194967)
What do you think has been the difficulty for people at your company learning it?

I encounter a lot of devs, especially experienced devs who pick it up very rapidly compared to what I've ever seen with JavaScript, ObjC, Rust or other most other languages I've spent time with.

Re:Ask HN: Are you satisfied with Elixir or do you regret ch... by pavel_lishin on Tuesday May 18, 2021 @11:12AM (#27195705)
For simple things like "add field to GraphQL schema, hook it up to a resolver, and read some data from the database" - doesn't take too long.

The language itself is very different from the C-like imperative languages most everyone knows, so there's a bit of a ramp-up from that, but for basics, people can be released into the codebase within a month.

But when things go wrong, or when you need to do something more complicated, things get difficult. It's much more difficult to google around for solutions. When Dialyzer is spitting out strange errors, hunting down their causes and solutions is challenging without someone who understands it around.

I feel like 99% of Typescript/Ruby problems have been encountered and enshrined in Stack Overflow and the like, but Elixir doesn't have that sort of volume.

It's a fun language, and worth learning, and I played around with it in a side project, but quickly started running into conceptual roadblocks when it came to (no surpise) the GenServer stuff, and how to actually spin up a stable service that does things in some given way. I probably could have stuck with it, but at that point it felt more like toil than joy, so I decided I'd rather do something else with my time. I'd be fine with going to work for another company working with Elixir, provided that there were people there who can swoop in from above and help me solve my problems.

Re:Ask HN: Are you satisfied with Elixir or do you regret ch... by abledon on Wednesday May 19, 2021 @03:28PM (#27213261)
what area/work does your company do? advertising?