Sign In
  • U.S.
  • Canada
  • Australia
  • Dubai
  • UAE
  • Dominica
  • Spain
RCO News Logo Light RCO News Logo
  • Home
  • Immigration
    New ways to get Canadian permanent residence through Express Entry 2026
    Canada

    Federal government Canada Officially announced that from 2026 some new job categories in the system Express Entry It prioritizes selection…

    1 Min Read
    ca Quick guide to the first job for international students in Canada
    Canada

    2️⃣ Have a specific salary rangeOne of the first questions a career counselor or employer will ask you is:"How much…

    1 Min Read
    Get to know Ryazan University in Russia! Complete guide for 2026 study applicants
    promo
    Immigration

    Complete review of Ryazan universities for study applicants and educational immigrationStudying in Russia in recent years has become one of…

    11 Min Read
    ca PGWP golden tips that most Canadian students don’t know
    Canada

    🔟 Field of Study conditionThis condition applies to people who:are exempted:Other programs must be on the list of government-approved fields…

    1 Min Read
    ca
    Canada

    Example 2: Obtaining permanent residence through the Atlantic Immigration Program (AIP)Clara's Status: Clara is 24 years old and is working…

    2 Min Read
    Check out more:
    • Canada
  • Travel
    Conditions for buying bus tickets Booking guide and bus travel rules
    Conditions for buying bus tickets
    Dubai

    Buy bus tickets online Today, it has become one of the main methods of planning intercity trips, but many travelers…

    18 Min Read
    Introduction of the silver beach of Hormuz (access route + accommodation)
    Hormuz Silver Beach
    Dubai

    Why do some beaches stay in the traveler's mind and not just a point on the map? The answer can…

    18 Min Read
    Al Habtoor Palace Dubai Hotel
    Dubai News UAE News RCO News
    Dubai

    This hotel is located on the main road of Raqqa Street in Deira. It has a rooftop pool, 5 restaurants…

    1 Min Read
    Al Habtoor Palace Dubai Hotel
    Dubai News UAE News RCO News
    Dubai

    Introduction of Sun and Sand Hotel Downtown Dubai Stay in the heart of Deira near Al-Raqqa Street hotel Sun and…

    2 Min Read
    Traffic police: Chalus road, Tehran freeway to the north and Pardis became one-way
    Dubai News UAE News RCO News
    Travel

    Sardar Seyedtimur Hosseini added: Also, due to the high traffic density, the south-north routes of Tehran-Shamal and Karaj-Chalus freeways are…

    2 Min Read
    Check out more:
    • Dubai
  • Technology
    New Qwen 3.5 open source models released; Suitable for running on personal systems
    Dubai News UAE News RCO News
    artificial-intelligence

    Alibaba's artificial intelligence development team introduced the new Qwen 3.5 series of language models, which brings the features of advanced…

    3 Min Read
    The Perplexity Computer platform was introduced
    Dubai News UAE News RCO News
    artificial-intelligence

    Perplexity company from the new platform Computer Perplexity unveiled, which is considered a big step in the evolution of artificial…

    3 Min Read
    Nano Banana 2 model was introduced; Google’s strongest artificial intelligence
    Dubai News UAE News RCO News
    artificial-intelligence

    Google's new and powerful artificial intelligence called its imager Nano banana 2 (Nano Banana 2) introduced and released for free…

    3 Min Read
    Entropic did not give in to the Pentagon’s demands; Declaration of opposition to the manufacture of automatic weapons
    Dubai News UAE News RCO News
    artificial-intelligence

    Less than 24 hours before the end of the Pentagon's ultimatum, Anthropic did not give in to the demands of…

    4 Min Read
    Binance’s record breaking and BNB’s flight from the heart of the bullish flag!
    cryptocurrency

    study time: minutesBinance Coin (BNB) price has raised hopes of reaching the $5,000 target after confirming the breakout of the…

    1 Min Read
    Check out more:
    • Artificial Intelligence
    • CryptoCurrency
    • Gadgets
  • Fashion
    FashionShow More
    Women's short homemade cotton shirt
    Women’s short home cotton shirt

    The fact is that men are not complicated; Your wife will love…

    9 Min Read
    Perfume and its effect on sleep
    What effect does putting on perfume before sleep have on the quality of sleep? • Image of life magazine

    Scents have a direct effect on the nervous system and human emotions…

    7 Min Read
    The difference between a stylish and up-to-date make-up and a messy make-up

    Makeup, just like clothes, depends on the time and taste of the…

    9 Min Read
    The best sport type with a tie
    The best sport type with a tie; How to look well-dressed? • Image of life magazine

    A sporty look with a tie looks good for people who want…

    8 Min Read
    What is the best Valentine set? All kinds of ideas for buying gift sets on the day of love

    As Valentine's Day approaches, choosing a different and lasting gift becomes one…

    9 Min Read
  • Health
    HealthShow More
    Food list for treating high blood fat
    Food list for treating high blood fat

    Food list and sample diet for treating blood lipidsIn today's world, high…

    13 Min Read
    Anal warts
    What is an anal wart? | Symptoms, ways of transmission, methods of treatment and prevention of HPV

    Anal wart or condyloma acuminata is one of the most common sexually…

    11 Min Read
    Serious side effects of curling hair
    Serious complications of hair curling + the correct way to curl to maintain hair health

    Hair curling and its damageThe serious side effects of curling hair and…

    6 Min Read
    Choice of laminate or composite
    Is the durability of laminate better or composite?

    The beauty of a smile plays an undeniable role in people's self-confidence…

    14 Min Read
    Benefits of cold shower for men and women
    Benefits of cold showers for men and women + benefits of cold showers for the skin

    Benefits of cold showerCold water shower may seem a little hard at…

    9 Min Read
  • Science
    ScienceShow More
    Dubai News UAE News RCO News
    The condolence message of the Institute of Seismology and Earthquake Engineering after the martyrdom of the leader of the revolution – Mehr news agency RCO News Agency

    According to RCO News Agency, the researchers of the International Research Institute…

    1 Min Read
    The occurrence of 546 earthquakes in Bahman 1404; Bushehr was the most earthquake-prone province – RCO News Agency

    According to Mehr news agency, citing University of Tehran, seismographic networks of…

    1 Min Read
    Strengthening basic sciences is a prerequisite for improving the university’s research position – RCO News Agency

    According to RCO News Agency, citing Amirkabir University of Technology, Abbas Soroush…

    3 Min Read
    Minister of Science: The university will definitely be present
    Minister of Science: The university will definitely be face-to-face – Mehr news agency RCO News Agency

    Science Minister Simai Saraf said: I and all dear students are in…

    0 Min Read
    “Artificial Intelligence for Microbicide” scientific conference of thinkers

    Scientific conference of thinker "Artificial intelligence for murder" RCO NEWS

    0 Min Read
  • World
    WorldShow More
    Dubai News UAE News RCO News
    Evacuation of British military bases in Cyprus – Mehr news agency RCO News Agency

    Evacuation of British military bases in Cyprus - Mehr News agency RCO…

    1 Min Read
    Dubai News UAE News RCO News
    Extensive damage remains around Ben Gurion Airport – Mehr News Agency RCO News Agency

    Extensive damage remains around Ben Gurion Airport - Mehr News Agency RCO…

    0 Min Read
    Dubai News UAE News RCO News
    Stopping gas production in Israel’s Leviathan gas field – Mehr news agency RCO News Agency

    Stopping gas production in Israel's Leviathan gas field - Mehr News agency…

    1 Min Read
    Dubai News UAE News RCO News
    Explosion near Erbil airport in Iraq – Mehr news agency RCO News Agency

    Explosion near Erbil airport in Iraq - Mehr News agency RCO News…

    1 Min Read
    Dubai News UAE News RCO News
    180 martyrs and wounded in the attacks of the Zionist regime on Lebanon – Mehr news agency RCO News Agency

    180 martyrs and wounded in the attacks of the Zionist regime on…

    1 Min Read
Reading: Which AI chatbot is best for coding?
Share

RCO NEWS Daily world news agency Based on Dubai, UAE

RCO News Helpline News Directory based on Dubai

Aa
  • Immigration
  • Travel
  • Technology
  • Science
  • Fashion
Search
  • Home
  • Immigration News
    • Canada
  • Technology News
    • Gadgets
    • cryptocurrency
  • Travel News
    • Dubai
  • Fashion News
  • World News
  • Bookmarks
  • Sitemap
Have an existing account? Sign In
Follow US
© 2023 RCO News Network. Studio TEDSA Design Company. All Rights Reserved.
RCO NEWS Daily world news agency Based on Dubai, UAE > Blog > Technology > artificial-intelligence > Which AI chatbot is best for coding?
artificial-intelligence

Which AI chatbot is best for coding?

IT Technology
Last updated: 2024/08/25 at 9:21 PM
IT Technology
Share
Which AI chatbot is best for coding?
SHARE

ChatGPT artificial intelligence chat bot It represents the presence of many users, but recently, the new robot under the title Gemini He has entered competitions and has the ability to code. In this article, we answer the important and controversial question of which AI chatbot performs better for coding.

Contents
Language supportCode accuracy and qualityDebugging and error detectionAwareness of contextproblem solvingProgramming featuresChatGPT is in a league of its own!

If you’re stuck on a programming project, you might be looking for a tool to help you brainstorm ideas, write clean code, or explain a complex concept. Which AI chatbot is better for coding in your opinion, and which one would you choose: the fast and informative Gemina, or the comprehensive and powerful ChatGPT? Next, we introduce the best artificial intelligence chat bot for coding.

Language support

When it comes to language support, ChatGPT surpasses Gemina in terms of breadth and skill. While Gemina officially supports around 22 popular programming languages ​​– including Python, Go and TypeScript – ChatGPT’s language capabilities are much broader.

Unlike Gemini, ChatGPT does not have an official list of supported languages. However, the bot can handle not only the popular languages ​​Gemina supports, but dozens of others, from newer ones like TypeScript and Go to older ones like Fortran, Pascal, and BASIC.

To test their language capabilities, I tried simple coding tasks in languages ​​such as PHP, JavaScript, BASIC, and C++. Both Gemini and ChatGPT performed well with common languages, but only ChatGPT could convincingly put together programs in older languages ​​like BASIC.

Code accuracy and quality

You’re behind on your project deadline and you need a whole lot of code. You ask ChatGPT and Gemina to generate code to implement that functionality, and both tools spew out dozens of lines of code. It seems that with a simple trick, you came out victorious from this challenging situation.

But which tool’s code can you trust to deliver the functionality you’ve requested? To compare the accuracy and quality of code produced by two AI chatbots, I performed a simple coding task on them. I asked Gemini and ChatGPT to create a simple to-do list app using HTML, CSS, and JavaScript. I did not provide any primers. The goal is to see how well both chatbots can work with limited information. ChatGPT (GPT-4o) produced “good enough” functional code. Using the ChatGPT code, you can add or remove a task. Here’s what I got after running the ChatGPT result in the browser:

Then, I asked Gemina from Google to repeat the same thing. Gemini is also able to create a To-do list application was You can also add and remove tasks, but the overall design was not that attractive:

AI chatbot for coding

I did the second test. This time I asked both chatbots to recreate the Twitter feed (X.com). ChatGPT produced an old-style Twitter feed with functional tweeting capabilities. I can type in a textbox, send a tweet and dynamically load on the page. It wasn’t the Twitter feed I was hoping for, but given that most of ChatGPT’s training data is full of old Twitter code, the results seem understandable.

Unfortunately, in this round, Google Gemina was unable to provide functional code. It generated hundreds of lines of JavaScript code, but there were too many placeholders to fill in with missing logic. If you’re in a hurry, such code with locations won’t be very useful, as it still requires heavy development work. In such cases, it is more efficient to write the code from scratch.

I tried a few other basic coding tasks and in all cases, the ChatGPT solution was clearly the better option.

The book The Teenage General and Secrets of Artificial Intelligence by Henry Brooke Publishing
4% 150,000

143,260 Toman

Debugging and error detection

Bugs and bugs are like puzzles that programmers have every right to hate! These bugs will drive you crazy, but fixing them is quite satisfying. So when you run into a bug in your code, should you ask Gemina or ChatGPT for help? It really depends on the type of error you want to avoid.

To decide, I gave both AI chatbots two problems to solve. First, I asked both chatbots to solve a logic error in simple PHP code. Logical errors are much harder to detect than syntax errors because it depends on the purpose of the code:

The code in this screenshot is executed and even produces the correct result in many cases. However, it has several logical errors that are not immediately apparent. Can you spot them? I asked Gemina for help and unfortunately the chatbot could not detect the logic error in the code:

AI chatbot for coding

None of Gemina’s three attempts to solve the problem were accurate. I tried a similar problem six months ago with the same disappointing result. It seems that Gemina has not progressed in this field.

I then asked ChatGPT for help and it immediately recognized the logic error.

Gemina also rewrote the code to fix this error:

AI chatbot for coding

After doing some more troubleshooting, ChatGPT was clearly better at this. However, Gemina’s performance was not entirely in vain. The bot could handle most of the intentional errors I threw at it, but it struggled with complex errors, especially logic errors.

Awareness of context

One of the biggest challenges of using artificial intelligence chatbots for coding is their relatively limited knowledge of the context or topic. They may be able to create separate code for well-defined tasks, but struggle to create the code base for a larger project.

For example, let’s say you’re building a web app with an AI chatbot. You tell it to write code for your signup and login HTML page, and it does just fine. Then ask the chatbot to create a server-side script to handle the login logic. This is a simple task, but due to limited context awareness, it may produce a login script with new variables and naming conventions that do not match the rest of the code.

Which AI chatbot for coding is better at maintaining context awareness? I gave both tools the same programming task: a chat application that we know ChatGPT can already build.

The book A New Approach to Artificial Intelligence by Stuart Russell and Peter Norvig published by Dibagaran Tehran

Since the introduction of GPT-4 Turbo and its 128k context window, ChatGPT’s ability to retain much more text, for longer periods of time, has improved significantly. When I first built a chat application with ChatGPT using a 4k GPT-4 context window, it ran smoothly with only minor incidents of text deviation.

A November 2023 reconstruction of the same project with 128k GPT-4 Turbo showed a significant improvement in context awareness. Six months later, in May 2024, there was no significant change in context awareness, but neither was it worse.

Unfortunately, when I first tried Gemina (then called Bard) in the same project, it lost the project path and failed to complete the program. Several rounds of updates later, I tested Gemini again in the same project, and it seems to have gotten worse. So, once again, in terms of context awareness, ChatGPT wins.

problem solving

At this point, Google’s Gemini is lacking in many ways. But can he win in the end? Let’s test its problem-solving abilities. Sometimes you just have a problem, but you’re not sure how to show it programmatically, let alone how to solve it.

In this situation, chat bots like Gemina and ChatGPT can be useful. I asked them both to “write a JavaScript code that counts the number of times a particular word appears in a text”.

In the following, we see the result of Google Gemina:

AI chatbot for coding

And then we see the result of ChatGPT:

At first, both approaches seem very solid. Gemina’s approach seems even brief. However, the ChatGPT code has a more robust and accurate approach to counting the number of words in a text. It takes into account word boundaries and case sensitivity, handles punctuation correctly and provides more reliable results. Once again, ChatGPT is superior.

The ChatGPT approach breaks the input text into words in such a way that it can handle all non-word characters such as punctuation marks and special characters as word separators. In the meantime, Gemina considers only the white space as a separator. This approach may fail if the text contains punctuation or other non-word characters in the words, or if the words are not separated by whitespace characters.

Since the Gemina lost in almost every benchmark I used for comparison, I decided to give it a chance at redemption. “ChatGPT vs. Gemini: Which AI Chatbot is Better for Coding?”, I asked the chatbot. We see the result:

AI chatbot for coding

Sounds like something I agree with to an extent! I asked ChatGPT what he thought of the assessment and he agreed:

AI chatbot for coding

Now, while this sounds perfectly normal, there’s an interesting twist here. For most of the last year, Geminai (then Bard) always confidently stated that he could produce better code, was more efficient, and made fewer mistakes. Here is a screenshot from one of my tests in November 2023:

AI chatbot for coding

It seems that Gemina has become a little self-conscious and humble now!

Programming features

Neither ChatGPT nor Gemini has any major features that are exclusive to programming. However, both chatbots have features that can significantly enhance your programming experience if you know how to use them effectively.

ChatGPT offers a set of features that can simplify the programming process when using a chatbot. Useful add-ons like Memory and Custom GPT allow you to customize ChatGPT for your specific programming needs.

For example, the Custom GPT feature can help you create specialized mini versions of ChatGPT for specific projects by uploading the relevant files. This makes things like debugging code, optimizations, and adding new features much easier. Overall, ChatGPT has more features than Google Gemina that can improve your programming experience.

ChatGPT is in a league of its own!

Google’s Gemini has been heavily hyped, so it might be surprising to see how much it lacks compared to ChatGPT. While ChatGPT was clearly off to a good start, you might think Google’s massive resources would help it take that advantage away. Despite these results, it would be unwise to dismiss Gemini as a programming aid. Although Geminai is not as powerful as ChatGPT, Geminai bot still has impressive performance and is evolving at a fast pace.

Source: Makeuseof

Common questions and answers

Can Google’s Gemini code?

yes Simple coding can be done with Google Gemina.

What is Custom GPT?

The Custom GPT feature can help you create specialized mini versions of ChatGPT for specific projects by uploading the relevant files.

What is the ChatGPT extension for advanced coding?

Useful add-ons like Memory and Custom GPT allow you to customize ChatGPT for your specific programming needs.

Dubai company setup

Latest Passing over countries : Spain | Dominica | United Arab Emirates

RCO NEWS

RCO News

We are glad that you have decided to subscribe to our email list.
Please take a few seconds to fill out the listing details to join our list.
You will receive an email to confirm your subscription, just to make sure it is your email address.
TAGGED: chatbot, coding
IT Technology August 25, 2024 August 25, 2024
Share This Article
Twitter Email Copy Link Print
What is your Reaction in this page of RCO News?
Love0
Sad0
Happy0
Sleepy0
Angry0
Surprise0
Previous Article A report of Ukrainian casualties in the last 24 hours A report of Ukrainian casualties in the last 24 hours
Next Article The enemy is not looking for a truce/ the resistance gains strength by assassinating its leaders – Mehr News Agency | RCO News Agency
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

UAE immigration
Dominica immigration
Spain immigration

Latest Passing over countries : Spain | Dominica | United Arab Emirates

Editor's Pick

📊

Autumn;; The best opportunity to buy a home in Canada

Study time: 4 Minutes Autumn;; The best opportunity to buy a home in CanadaForecast of Canada's Housing Market in Autumn…

By Editor-in-chief of Canada 6 Min Read
Vistan Lake
Vistan Lake Access route + best time to visit

Have you ever experienced a destination whose peace is deeper than any…

13 Min Read
Dubai News UAE News RCO News
Gitex exhibition tour ticket in Dubai 1404

Exhibition GITEX Technology Week Jitex Dubai One of the most important Technology…

2 Min Read

Top Writers

Editor-in-chief of Canada 845 Articles
We at Canada RCO News Observatory are responsible for gathering…
Editor-in-chief of Canada
TakeOff 5020 Articles
We at RCO NEWS for Travelers of the Takeoff travel…
TakeOff

Oponion

Women's short homemade cotton shirt

Women’s short home cotton shirt

The fact is that men are not complicated; Your wife…

February 27, 2026

You Might Also Like

Dubai News UAE News RCO News
artificial-intelligence

New Qwen 3.5 open source models released; Suitable for running on personal systems

Alibaba's artificial intelligence development team introduced the new Qwen 3.5 series of language models, which brings the features of advanced…

3 Min Read
Dubai News UAE News RCO News
artificial-intelligence

The Perplexity Computer platform was introduced

Perplexity company from the new platform Computer Perplexity unveiled, which is considered a big step in the evolution of artificial…

3 Min Read
Dubai News UAE News RCO News
artificial-intelligence

Nano Banana 2 model was introduced; Google’s strongest artificial intelligence

Google's new and powerful artificial intelligence called its imager Nano banana 2 (Nano Banana 2) introduced and released for free…

3 Min Read
Dubai News UAE News RCO News
artificial-intelligence

Entropic did not give in to the Pentagon’s demands; Declaration of opposition to the manufacture of automatic weapons

Less than 24 hours before the end of the Pentagon's ultimatum, Anthropic did not give in to the demands of…

4 Min Read
RCO News Logo Light RCO News Logo

Other News

  • Science
  • Fashion
  • Business

Technology

  • Technology News
  • artificial-intelligence
  • cryptocurrency
  • Gadgets

Immigration

  • Immigration News
  • Canada

Travel

  • Travel News
  • Dubai

More

  • Advertise
  • Contact

Subscribe

  • Dubai Company
  • TEDSA HOLDING
  • Nobel Cert Universal

© RCO News Network. By Studio TEDSA HOLDING. All Rights Reserved.

Welcome Back!

Sign in to your account

Lost your password?