← Back to context

Comment by ricw

7 hours ago

It works great for a number of reasons

- it’s functional making it much easier to reason about for LLMs (eg no side effects)

- it’s compiled (including the html template), so the LLM get instant feedback if something is off and can fix it quicker

- it’s more concise than other frameworks (language, framework, no front/backend split) and consequently you hit the max token limit much less frequently

- it has excellent tailwind support

I told a business partner to just use claude for certain tasks a year ago, and it failed miserably in python where it succeeded in elixir/phoenix liveview. This was a regular occurrence. LLMs have obviously progressed since, but the principle still stands that they work much better in elixir than python.

So in short: it’s great and arguably better than most other languages and frameworks