|
|
|
|
|
by napsterbr
305 days ago
|
|
This is clearly low quality, non-idiomatic AI-generated Elixir code. So the likely answer is that "you" did not use this at all; AI did. I review this kind of AI-generated Elixir code on a daily basis. And it makes me want to go back to ~2022, when code in pull requests actually made sense. Apologies for the rant, this is just a burnt out developer tired of reviewing this kind of code. PS: companies should definitely highlight "No low-quality AI code" in job listings as a valid perk. |
|
In production code I'd do a couple passes and tell it to lean into more function head and guard matching, etc.
But it does compiles, and works: https://livefilter.fly.dev/todos?filters%5Bassigned_to%5D%5B...