Earlier quoted context omitted.
I don’t understand why people drink orange soda. If you want something orange flavoured, eat an orange! If you want something bubbly, drink soda water! .ex compiles to beam files to be run later .exs compiles to memory You don’t need to know Erlang to use Elixir; I’m a few years in now and I’ve never had to write any Erlang.
in the past i would have said learning to read erlang is a very nice to have for an intermediate elixirist but not really anymore, an LLM can translate between the two very easily.
Elixir 1.19
91–100 of 152 posts
Re: Elixir 1.19
#92Elixir is still confusing, not the language, but the ecosystem, tooling, and philosophy. Is it dynamic or static? Is it compiled or not? If it's not, then why do we have Elixir scripts, which have different file extension? If it uses BEAM and you'd inevitably need to know Erlang when you hit the edge cases, then why not just learn Erlang? If it solves concurrency the "right way" due to supervision trees, why not use…
Re: Elixir 1.19
#93Re: Elixir 1.19
#94Having the $lang_ecosystem address this sounds godsent. Unfortunately we don't use Elixir at $work.
Re: Elixir 1.19
#95Earlier quoted context omitted.
Scala 3 has failed to be widely adopted, and now the language as a whole is more or less dead. Not that that’s due to the 2-to-3 transition entirely.
I haven't been following, now I'm sad to hear... Scala is really dead? What'd be the JVM alternative?
Re: Elixir 1.19
#96Earlier quoted context omitted.
I quit my job and started a company just so I can use Elixir.
How's that going for you?
It's overkill for some of our problems but it's working fine! We make mistakes, but they're mistakes we'd have made with most other languages.
I did have to buy Pragstudio licenses for anyone using Elixir on the team. I'd prefer a few books, but most Elixir/Phoenix books don't seem like they're keeping up with the rate of change.
Re: Elixir 1.19
#97I really came to love gleam over the last few months. I appreciate elixir getting a type system and remember that this was the big NoGo for me when I explored it a while back. I'd like to give it another chance some time, but I'm worried that it's like typescript - looks typed on the outside but for many libs and packages the types are just a dynamic/any. Is my fear justified? Beam is amazing btw
Yeah Gleam. Or Kotlin on the JVM is also quite similar and has compile-to-JS if needed.
Granted, it's alpha software and it's currently embedded in the Hologram framework, but still.
Re: Elixir 1.19
#98Earlier quoted context omitted.
Python has a GIL and is mutable, which makes concurrency impossible and error-prone, respectively. Elixir doesn't have a GIL and is immutable.
Not really. CPython used to have a GIL, it is no longer the case since the latest version, 3.14. Other Pythons, jPython, GrallPy, PyPy, never had a GIL. Languages and implementations aren't the same.
Re: Elixir 1.19
#99Elixir was not a happy experience. The language itself is maybe OK but the overall experience is not. On a production build, stack traces look like Erlang code, which is the weird syntax that Elixir tried to improve upon. Then you have macros, which make code unmaintainable at the 10k SLOC mark, and increasingly harder to maintain as projects get larger. Running "mix xref graph" on most Elixir projects shows a spaghe…
I complain about OCaml docs all the time. But Elixir? no way.
Re: Elixir 1.19
#100Earlier quoted context omitted.
Uh, wasn't the only breaking change a rename/changed path in some standard lib path?
Introduction of modules, closing down of APIs that no one should be using, since Java 9 deprecated methods actually get removed a few versions later. Also breaking changes do happen, see list of removed methods https://docs.oracle.com/en/java/javase/17/migrate/removed-ap...