r/learnpython • • Jan 27 '24

Which free ai is better for coding?

Bard ? Chatgpt? Or sth else?

4 Upvotes

71 comments sorted by

19

u/[deleted] Jan 27 '24

You trying to learn python, or already know python and want a ai companion?

If you're learning, I wouldn't use any of em.

2

u/Faezeh1998 Jan 28 '24

I have passed python courses to intermediate, i want it to assist me with my projects.

21

u/DaLameLama Jan 27 '24

AI is great as a teacher if you use it properly

being able to properly use AI is similar to the classic "being able to use google"

8

u/[deleted] Jan 27 '24

I get what you’re saying but someone can google something, and it could be completely wrong or someone’s opinion, and then they take it as fact. google is great of course, but it assumes that a person knows how to vet sources.

How can someone new to scripting or coding in general tell when the AI is giving them valid code? I see it here all the time.

Same reason why you can’t use Wikipedia as a source on your schoolwork.

3

u/Scared-Pineapple-470 Oct 23 '24 edited Oct 23 '24

It certainly can be extremely helpful for learning. Generate code for something you want to do, see what it makes, and try to understand it. Tweak it, ask it questions, figure out how to resolve errors, etc. start simple and slowly go more and more complex (which will most likely have more errors for you to learn from). It also will generate different styles of code, some better than others, and that will help create diversity in coding capabilities.

It won’t be the quickest to learn the language itself however it’s far more useful in terms of learning how to problem solve and debug, along with general good habits and thought processes to have going into any developmental field. You can also ask it to explain every part of what it’s doing (through proper commenting for bonus points) which is obviously invaluable for learning, as well as knowing how to produce legible code in the future.

As for those who already have programming experience, I personally have used it to very quickly grasp new languages. I have tons of time on my hands so I’ve been branching out, plus I’ve been away from development for a while so I’ve had to get the rust off my fingers and AI has been so beneficial to me.

If there’s a specific question I’m having it’s far easier to just ask an AI how to solve that specific question than researching how to do it at a fundamental level when I can easily grasp and apply that just by seeing a solution. I can also just ask it to generate me a long program for (or convert previous code to) a language very dissimilar to what I normally use and by going through that a few times I can get started coding with it extremely quickly.

With the AI there to assist with any confusion I can produce code in any language with almost zero learning curve, at a complexity I wouldn’t dream of using with a brand new language before.

I do see how a beginner could fall into the trap of attempting to solely use AI code without understanding how it works or actually trying to figure it out but on code that’s way too complex to understand without the basics. It’s a tool, and just like every other tool out there it can be used in beneficial or harmful ways.

Current industry standards have adapted to using AI as a coding assistant so it’s certainly useful for generating results. Eventually it will make coding knowledge obsolete and considering how rudimentary our current AI is (if you can even call it that), I doubt humans will have any way to compete within 10 years or so. Could be far less as well, it’s just hard to predict since it’s so early on in the exponential curve of advancement.

Sidenote: Wikipedia is a great source, the reason people are told not to cite it is because you should be citing the original source linked at the bottom of the Wikipedia page. It has nothing to do with the reliability or usefulness of Wikipedia, it’s just a matter of doing proper citations of where the information originated from, not where you happened to read it.

2

u/_swill Apr 03 '25

im reading this thread because ai told me to do stuff in unity and now i have like 7+ hours of fixes ahead of me

1

u/No-Jackfruit8797 Oct 23 '25

And here we are, arguing endlessly for seven days a week just to get a simple answer to our question. Honestly, I'm so glad we have AI now, so we don't need to argue over nothing anymore.

6

u/Pillowscience21 Jan 27 '24

Yeah but if you are just learning, its important to really understand how to read code and troubleshoot issues before using an AI to help generate it, especially when you get more into using different libraries because AI may not be able to generate code that works with them.

2

u/Scared-Pineapple-470 Oct 23 '24

Then ask the AI to include thorough comments explaining every piece of code. You can ask it to go line by line, per individual function, or whatever scope is most beneficial to you.

Our current AI’s we’re talking about are ultimately language models. Because of its previous knowledge along with how it answers questions, it will most likely give you code that is either how the library works, or is very close. It knows the same way it knows all the little intricacies it wasn’t trained on, or how you can ask it questions about very niche websites it definitely wasn’t trained on: AI magic.

Almost every library imaginable has been used to train it since they need to throw as much data as possible at it for it to be reliable. The hardest part of making a good AI is getting that data so they’d use whatever they could get, which would make it better at coding along with give it the knowledge required to complete diverse coding tasks. Any unknowns are made up on the spot and with that AI magic it gets it right a lot.

It’s really a complex subject but a side product of training a language model is it unknowingly being able to understand how humans and topics you give it function at a fundamental level. It’ll find incredibly complex patterns and gain very complex, specific, and plentiful knowledge from every little detail. With a couple repeats of your prompt you should be able to extrapolate some usable code for a library it hasn’t ever seen before which is extraordinary.

2

u/wjrasmussen Jan 27 '24

for wrote memorization or for actually understanding what is going on.

1

u/Crankatorium Feb 21 '25

That blew my mind, is AI this amazing already?

4

u/StHydrated Jan 28 '24

I think, the best way to use an AI is as a critiquer of my code. I’m trying not to use it as a code generator.

When I’m given a task I’m trying to write a code myself and use an AI last of all when I wanna know a possible better solution of my task.

5

u/supanatral Jan 27 '24

ChatGPT taught me and it was great! I kept using it less and less each day. Now I barely use it to help me find solutions.

I still use it a lot, but for new reasons now that I’ve started learning other things

1

u/Weak_Association_528 Nov 03 '25

Προσπαθω να μαθω

9

u/QultrosSanhattan Jan 27 '24

I personally use vscode+codeium.

It's basically free autocompletion.

3

u/Bominator8 Jan 27 '24

Microsoft copilot is what i am using lately

Its abit hard to use in the start but once u get used to it

Its useful Plus they added the image upload option which makes stuff very easy

1

u/ChaosOrdeal Jun 04 '24

I used to love it, but it has fallen off the deep end recently. Today, it generated partial code for a repetetive bit, and added a comment for me to fill in the rest. It's literally a New Yorker comic from the seventies..

1

u/LurppaLee Oct 30 '24

Also, Copilot doesn't allow pasting a screenshot in the chat anymore. This was too easy and simple. You have to save the image locally first and then drag it to the chat.

See, Microsoft is desperately trying to make it more troublesome in hopes lazy or busy people wouldn't consume the free bandwith.

Expect more tricks alike in the future 🙄

3

u/shinitakunai Jan 27 '24

I am using codewhisperer and Amazon Q lately, for fun

1

u/ogDop10 Aug 28 '24

how much do you usually pay for those services when you use it just for fun?

1

u/shinitakunai Aug 29 '24

The individual tier is free for both CodeWhisperer and Amazon Q

2

u/Ecstatic_Carry_4780 Jan 28 '24

If you want a free latest one use Google bard

1

u/ler666 May 05 '24

i'm using Codium VScode extension. it's free and it is doing it's job

1

u/Individual-Ad3471 Aug 14 '24

thx for introduced a tool.

1

u/an732001 Jun 26 '24

I think https://www.tryathens.com/ is the best

They haven't launched yet but the demos are pretty cool.

1

u/[deleted] Sep 05 '24

[removed] — view removed comment

1

u/No_Search_8871 Jan 22 '25

So who did u go with??

1

u/One-Barnacle-3533 Jan 29 '25

bro use blackbox ai.

1

u/One-Barnacle-3533 Jan 29 '25

I use blackbox ai .
You can add it to vscode or SWE bench, or just use the standalone web version.
Just the web version has a bit of a shit interface, other then that it's intelligent, you can switch between the following ai models too :

BLACKBOX . AI

GPT-40

Gemini-Pro

Claude-Sonnet-3.5

DeepSeek-V3

DeepSeek-R1

BLACKBOX.AI-PRO

Just use it bro, some random guy in school once told me about it, and i've loved it ever since.

1

u/Satoshi-Wasabi8520 Feb 14 '25 edited Feb 14 '25

1)Codeium, can be used in VScode and Pycharm.

2) Github Copilot but limited only.

3)Continue in Vscode and dowload AI models from Ollama.

1

u/Traditional_Village8 Jun 22 '25

Fucking just give the answer ...too much free opinions..

1

u/JUSTJ69 Nov 01 '25

I'm gonna call it cause 90% of the answers here are rubbish to the actual Q!

At the time of this answer, noting anything FREE is limited, but if your purpose is to write something quick, test code or just a manic DIYer, then

Use Ai-wisely (always ask it to comment each line and function, so you can pick it up as you go)

A = CLAUDE .

Note to grandmaster coders | YOUR TIME IS NEARLY UP! [Just like any other human task really] BUT you do sound like Vinyl DJs in a digital age! 😜

1

u/DuckDatum Jan 27 '24 edited Jun 18 '24

pause license axiomatic tap depend quarrelsome innocent muddle market future

This post was mass deleted and anonymized with Redact

1

u/B_O_A_T_S Feb 26 '26

what garbage

1

u/DuckDatum Mar 18 '26

That’s the point. Fuck spez

1

u/B_O_A_T_S Mar 18 '26

what's spez?

1

u/pleazreadme Jan 27 '24

Replit is very code and has auto complete ai for free

1

u/QuickSeason1264 Sep 07 '26

Qual IA grátis é melhor para programar?

8

u/[deleted] Jan 28 '24 edited Jan 28 '24

[removed] — view removed comment

4

u/kremata Apr 29 '24

I totally agree. I'm learning Linux, but the learning curve is deep and I'm 60 so I don't want to spend 5 years learning before I can do something useful. Bash, Xargs, Awk, Sed, etc... Argh so much to learn. I've learned a lot for AI, I ask to generate some scripts but mostly to show some examples of how I could do some routine.

1

u/luckyiyke2k4 Apr 12 '25

If I may ask, out of curiosity, why are you learning all that technical stuff at 60? Are you trying to pursue a career path or build something?

2

u/kremata Apr 16 '25

I like computers and I love to learn. I always have some home projects eg: a terminal based media player.

3

u/mavericksage11 Mar 01 '25

The important thing is, I can't ask the same question to another human 20 times. I can do that with chat gpt.

1

u/[deleted] Jan 28 '24

I just haven't seen a need for it yet, I guess.

1

u/sagejosh Jan 28 '25

I feel like this is the modern equivalent of "I dont see a need for a hammer, my wooden Awl does just fine".

1

u/[deleted] Jan 28 '24

[removed] — view removed comment

1

u/[deleted] Jan 28 '24

[removed] — view removed comment

1

u/ichmoimeyo Jan 28 '24

I asked Bing via web.skype.com ...

 

Prompt:

I have the following code assistants installed on vs code:

AskCodi, Amazon CodeWhisperer, Blackbox.ai, Bito, Codeium, CodiumAI, Cody AI, Tabnine and Replit ghostwriter chat.

Which one is best for analyzing the code in my github repository?

 

Bing:

... There is no definitive answer to which one is the best for analyzing the code in your GitHub repository, as different code assistants may have different strengths and weaknesses, depending on your needs and preferences. However, based on the web search results ...

I can give you a brief overview of some of the features and integrations of each code assistant, and you can decide for yourself which one suits you the most.

 

• AskCodi: This is a free AI code assistant that can help you with code generation, code explanation, code documentation, and more. It can analyze the code in your GitHub repository and provide you with intelligent suggestions, feedback, and insights. To use AskCodi with GitHub, you need to install the AskCodi extension for Visual Studio Code and connect it to your GitHub account.

• Amazon CodeWhisperer: This is a free AI code generator that works with VSCode and JetBrains IDEs. It can help you write code faster, scan for security issues, and track code references. It can analyze the code in your GitHub repository and provide you with intelligent suggestions, feedback, and insights. To use Amazon CodeWhisperer with GitHub, you need to install the AWS toolkit extension for VS Code or JetBrains and connect it to your AWS account. You also need to install the Amazon CodeWhisperer usage analyzer, which is a data pipeline that publishes metrics on code suggestions and security scans.

• Blackbox.ai: This is a powerful AI coding assistant that can 10x your developer productivity and save you an hour a day. It can help you with code generation, code explanation, code testing, code summarization, and more. It can analyze the code in your GitHub repository and provide you with intelligent suggestions, feedback, and insights. To use Blackbox.ai with GitHub, you need to install the Blackbox CLI (Command Line Interface) and follow the instructions on how to index your repository and chat with Blackbox.ai.

• Bito: This is a powerful AI coding assistant that can 10x your developer productivity and save you an hour a day. It can help you with code generation, code explanation, code testing, code summarization, and more. It can analyze the code in your GitHub repository and provide you with intelligent suggestions, feedback, and insights. To use Bito with GitHub, you need to install the Bito CLI (Command Line Interface) and follow the instructions on how to index your repository and chat with Bito.

• Codeium: This is a free, ultrafast Copilot alternative for Vim and Neovim. It can help you write code faster and smarter with efficient code auto-completion, code suggestions, code snippets, and code refactoring. It can analyze the code in your GitHub repository and provide you with intelligent suggestions, feedback, and insights. To use Codeium with GitHub, you need to install the Codeium extension for Visual Studio Code and connect it to your GitHub account.

• CodiumAI: This is a powerful AI coding assistant that can 10x your developer productivity and save you an hour a day. It can help you with code generation, code explanation, code testing, code summarization, and more. It can analyze the code in your GitHub repository and provide you with intelligent suggestions, feedback, and insights. To use CodiumAI with GitHub, you need to install the CodiumAI CLI (Command Line Interface) and follow the instructions on how to index your repository and chat with CodiumAI.

• Cody AI: This is a free AI code assistant that works with Visual Studio Code. It can help you with code generation, code explanation, code documentation, and more. It can analyze the code in your GitHub repository and provide you with intelligent suggestions, feedback, and insights. To use Cody AI with GitHub, you need to install the Cody AI extension for Visual Studio Code and connect it to your GitHub account.

• Tabnine: This is a free, ultrafast Copilot alternative for Vim and Neovim. It can help you write code faster and smarter with efficient code auto-completion, code suggestions, code snippets, and code refactoring. It can analyze the code in your GitHub repository and provide you with intelligent suggestions, feedback, and insights. To use Tabnine with GitHub, you need to install the Tabnine extension for Visual Studio Code and connect it to your GitHub account.

• Replit Ghostwriter Chat: This is a free AI code assistant that works with Replit, GitHub, and Visual Studio Code. It can help you with code generation, code explanation, code documentation, and more. It can analyze the code in your GitHub repository and provide you with intelligent suggestions, feedback, and insights. To use Replit Ghostwriter Chat with GitHub, you need to install the Replit Ghostwriter Chat extension for Visual Studio Code and connect it to your GitHub account.

 

I hope this overview helps you to compare and contrast the different code assistants you have installed on your VS Code ...

1

u/ichmoimeyo Jan 28 '24

... based on the above and some other research I will be testing the vs code extensions in the following order:

 

bito

blackbox.ai

codeium

cody ai

tabnine

replit ghostwriter chat

amazon codewhisperer

askcodi

codiumai

1

u/[deleted] Mar 18 '24

[removed] — view removed comment

1

u/ichmoimeyo Mar 20 '24

thank you - I'll be subscribing to both r/blackbox_ai and to you SarahBlackBoxAi via RSS to see all the updates in my feed reader.

0

u/[deleted] Jun 04 '24

[deleted]