Earlier quoted context omitted.
I'd say Rails is faster than Phoenix (as in development speed) only for the first day or so. After that you'll stumble upon impicit logic, method-missing and this kind of stuff, which will require more time to figure out how it works. Elixi/Phoenix is more exlicit in that regard, making long-term support (as in anything past first week) a breeze. No hidden state, no figuring out where ModuleName.method(params) is com…
but if you want explicit any not just use django?
Erlang/OTP 29.0
31–40 of 64 posts
Re: Erlang/OTP 29.0
#32Earlier quoted context omitted.
but if you want explicit any not just use django?
Elixir and Phoenix is a better production platform than Django.. I’m not throwing shade on Django, many production systems use it happily. I’m saying that Phoenix/Elixir is better, partly because of the BEAM and OTP and partly because of the language and the framework. Real concurrency. Better performance. Far more robust in production. The language is pre-compiled, and while not statically typed, that alone provides…
Re: Erlang/OTP 29.0
#33Earlier quoted context omitted.
but if you want explicit any not just use django?
Django is not very different than Rails and imo much less ergonomic. Many issues are still there like hidden state/setup needed to call something
Re: Erlang/OTP 29.0
#34Earlier quoted context omitted.
Elixir and Phoenix is a better production platform than Django.. I’m not throwing shade on Django, many production systems use it happily. I’m saying that Phoenix/Elixir is better, partly because of the BEAM and OTP and partly because of the language and the framework. Real concurrency. Better performance. Far more robust in production. The language is pre-compiled, and while not statically typed, that alone provides…
if you want true concurrency, why not use goroutines? It provides single binary deployment and static types?
Re: Erlang/OTP 29.0
#35Who even uses Erlang? I used Rails and then i tried Phoenix and it was lot more difficult to get things done. I don't understand Phoenix hype For solo devs, Rails is arguably most productive webapp system. LLM is very good at writing ruby rails code. Much better than writing django in my experience even though python training corpus is huge. I write my experimental apps in Rail when it stabilizes, i do a Go rewrite.…
Ecto is not bad as well.
Claude Code is very good at writing Elixir.
Surprise, you'll be more productive with what you know, LLM or not.
Re: Erlang/OTP 29.0
#36Earlier quoted context omitted.
I used both Rails and Phoenix. ActiveRecord is more pleasant to work with than the ORM of Phoenix IMHO, but not everyone shares the same feeling. Despite having built in concurrency my team ended up building a version of Sidekiq because supervisors don't cover all use cases of job control. I prefer deploying with Capistrano than with Elixir builds. Another matter of taste. Structural pattern matching is the only feat…
> ActiveRecord is more pleasant to work with than the ORM of Phoenix IMHO, but not everyone shares the same feeling. Well, depends on what you do. Ecto is closely follows SQL logic and allows to translate weird sql queries into code directly. All queries are explicit, e.g. you either do preload(...) or can't access nested records at all, no chance of N+1 by design. Changesets are also different and are just functions…
Your example is a common anti pattern from PHP orms 15 years ago.
Re: Erlang/OTP 29.0
#37Earlier quoted context omitted.
I’ve been writing Elixir apps full time since 2016. Clients are very, very happy never to see a crash. In fact, all the applications I have deployed in production in the past 10 years have 100% uptime. (Apart from hardware, OS and network faults outside my control) You might want to broaden your horizons.
hello, would you please recommend a good resource to get started with elixir ? thanks for your time !
Re: Erlang/OTP 29.0
#38Does anyone knows if WhatsApp is still based on Erlang?
Re: Erlang/OTP 29.0
#39I know there are plenty of Elixir enthusiasts here, I mean plain ol' Erlang.
If you are still using Erlang, why do you prefer it to Elixir?
Re: Erlang/OTP 29.0
#40Does anyone knows if WhatsApp is still based on Erlang?