shishini

shishini

What do you recommend for coding using AI help?

Hi Community

This is a very general question
I didn’t jump into the AI bandwagon yet, and I am not sure where to start

So which AI tool/setup do you recommend , paid or free

I am surely interested in what works best for Elixir, but also what works best in general, for coding with any other language

Thanks

#ai

Most Liked

alexanders

alexanders

I will just share my experience, not sure if it will be useful. I have subscription for Github Copilot for a while, before that I used free Codeium.

In my experience it is good for auto-complete, sometimes it will guess big chunks of code correct and can save you lot of typing. I also use it alot if I don’t remember how something is done in some specific language, like for example formatting decimal with exactly 2 decimal places and things like that. I also had success with writing some bash scripts which solve some basic and isolated problem, often it just works, you don’t need to know bash to do that. Sometimes you can just copy/paste some error you don’t understand and get fast solution. You can also generate good tests with AI. Also I rarely open documentation now, if I need something specific it is much faster to ask AI, than to use google/docs.

I rarely use AI to try to generate new code or make significant changes in existing code. Sometimes I try to do that, but in my experience you just replace task of writing code with task of reading someone else’s code. Sometimes code is correct, sometimes it is not. Usually code is not optimal and is overkill for problem you trying to solve. So I usually prefer to start coding myself and use auto-complete to speed up things. But this is just my experience, maybe I need to write prompts better :smiley:

I would say start with Copilot free trial. In my opinion $100 per year totally worth it and will definitely save you some time on some of tasks I described above. They recently added other models (Claude and o1), so you have access to multiple models in case one doesn’t solve your problem. Good integration with IDEs (I use VSCode). I don’t have lot of experience with alternatives so can’t say if something else works better.

Hope it helps.

Pal

Pal

Not a heavy user for code as I’ve put Ash at the heart of my project: I can reason from the git status significantly better than any AI (for now, at least)

For specific Elixir/JS, Python I prefer Claude Sonnet code output, coupled with Aider ((GitHub - Aider-AI/aider: aider is AI pair programming in your terminal)) which supports most LLMs. There’s also a new VSCode extension (not tried): GitHub - lee88688/aider-composer: aider's VSCode extension, seamlessly integrated into VSCode

Zed gives a nice, similar experience, with a (currently) free Claude tier. Not enough about the editor for me to move from VSC however and I won’t be drawn down the subscription pathway for an editor.

Where Next?

Popular in Questions Top

Fl4m3Ph03n1x
Background Let’s assume I have a typical GenServer that receives messages as requests, does some operation in a DB and returns responses....
New
logicmason
Hi there, I'm working through my first release with elixir/phoenix. I've built a release with distillery and found that it crashes when I...
New
pgiesin
This should be a simple problem but I just can’t seem to figure it out. I have a standalone Elixir app that won’t find the database. Dep...
New
mgjohns61585
Could someone help me? I'm making my first elixir program, number guessing game. I can't figure out how to convert the user's guess from ...
New
johnnyicon
Hi all, I've just started learning Elixir and Phoenix Framework, so please pardon my n00bness at this stage. I'm trying to use Postg...
New
electic
Hi, I am new to Elixir. I am trying to use the DateTime component to insert a date into MySQL however the there seems to be no way to fo...
New
WestKeys
Currently suffering from paralysis by [HTTP client] analysis. This is rather unusual in Elixirland as there tends to be consensus on the ...
New
sabri
Can someone explain the settings of pool_size of Ecto in config file? and what is the recommend size? Thanks
New
skosch
To my knowledge, put_in, Map.update etc. all have the one limitation of not automatically creating intermediate keys when needed (for exa...
New
lucidguppy
I have a super simple question about elixir - how would I take a file like this foo bar baz and output a new file that enumerates th...
New

Other popular topics Top

belgoros
I’m not a pro in using Regex and can’t figure out why the following behaviour happens, especially if we take into account the difference ...
New
JakeBecker
TL;DR: I’ve just released an implementation of Microsoft’s IDE-independent Language Server Protocol for Elixir. It adds language support ...
1140 51847 244
New
sorentwo
Hello! tl;dr Announcing Oban, an Ecto based job processing library with a focus on reliability and historical observability. After spen...
977 41022 311
New
vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New
axelson
This post is a wiki (feel free to hit the edit button near the bottom right of this post to add your own changes!) This post collects co...
239 45766 226
New
malloryerik
Hi, this is for people who, like me, have had some friction using .html.heex templates in VSCode. The solution seems to be, in a hyphena...
New
danschultzer
None of the current solutions worked well for me, so I went ahead and built a user management system from scratch. This project took far...
548 27727 240
New
vonH
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
Qqwy
Original source of discussion: This topic on the Pragmatic Programmers' Functional Web Development with Elixir, OTP, and Phoenix forum. ...
New
joeerl
Hello again - after a longish gap I’ve decided I really must dig into Elixir and see what’s been happening here - so I have a few questio...
New

We're in Beta

About us Mission Statement