Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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

 help



I’d like some confirmation if possible, but my gut says the general internet (and therefore the training data) probably has a lot of sloppy Python code along with a lot of sloppy writing about Python whereas Phoenix has majority good code and well-reasoned writing



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: