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

srinivasu
How to handle excepions in elixir? Suppose i have A, B, C ,D, E modules. and each module has get() function. A.get() method will call th...
New
yawaramin
In the Dialyzer docs ( http://erlang.org/doc/man/dialyzer.html#requesting-or-suppressing-warnings-in-source-files ), there is a way to tu...
New
albydarned
Hello all! I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New
Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New
jononomo
I am trying to figure out how Mix knows whether the environment is test, dev, or prod -- where is this set? Thanks.
New
hariharasudhan94
I would like to know what is the best IDE for elixir development?
New
makeitrein
Hey all, just started picking up Elixir last week and am writing a scraper as a learning project. Baby step #1 is extracting the number ...
New
chensan
I have a User schema with a :from_id field set to type :string: defmodule TweetBot.Repo.Migrations.CreateUsers do use Ecto.Migration ...
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
chewm
Hi guys, nice to meet you to the whole forum, I’m new here, I’m trying to configure visual studio code for elixir, right now the intellis...
New

Other popular topics Top

yurko
Here are few pieces of (common) Linux knowledge that we use for reasonably small one server apps. We use Ubuntu but this should work for ...
New
srinivasu
How to handle excepions in elixir? Suppose i have A, B, C ,D, E modules. and each module has get() function. A.get() method will call th...
New
lk-geimfari
What is most correct way to open, read and parse JSON file with poison? For example if we have example.json file in root of some projec...
New
stefanchrobot
What’s the safe way to decode a JSON string into a struct? I want to avoid calling String.to_atom. Jason.decode can give me a map with st...
New
mcarvalho
What is the difference between System.get_env and Application.get_env? For example, what are best practices to use one versus another.
New
alice
Hey, Just curious what are the main benefits of Elixir compared to Clojure? When is Elixir more useful than Clojure and vice versa? Th...
New
shahryarjb
Hello, I have map which I want to convert it to string like this: the map: %{last_name: "tavakkoli", name: "shahryar"} the string I ne...
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
msaraiva
Surface is an experimental library built on top of Phoenix LiveView and its new LiveComponent API that aims to provide a more declarative...
564 42633 214
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

We're in Beta

About us Mission Statement