Skip to content

Comment on Brex is moving away from Elixir to Kotlin

Comments

Curious about the opportunity cost here and why not adopt things like typespecs and static analysis tools like Credo and Dialyzer?

I guess for people who like types whatever tools Elixir comes up with will never match a true typed language like Java or Kotlin. Was the whole thing really worth a rewrite - have no idea. They also mentioned lack of libraries. I don't really understand people who argue for types in a micro/small service environment. Most people don't work on a million LOC codebase anymore, instead they have a few dozens small-medium sized services. That's the current fad at least. So why is refactoring so painful in a dynamic language on a medium service? Brex didn't really provide much details here I have to say.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.