Speed up your coding with AI

Jan 6, 2023
Updated • Jan 5, 2023
Apps, Software

OpenAI has unleashed two incredible AI tools that are currently all the rage. Whereas most of the buzz is centered around its incredible ChatGPT, its dataset pales in comparison with its bigger sibling GPT-3. In short, ChatGPT is very well suited for human-like conversations and GPT-3 provides more accuracy.

Both are incredible tools that can write poems, stories, essays, and even code. All this has a lot of people concerned since it raises the question of whether humans are redundant in a world where AI is more powerful each day. 

Others already see ways in which they can use these tools to enhance their work. Many developers are currently using these to improve their code or even code from scratch. This is because both ChatGPT and GPT-3 can be tasked with developing software and making assessments over code.

For instance, I have asked ChatGPT the following: Develop Python code for a simple calculator. This is what ChatGPT replied:

Sure! Here is a simple calculator that can perform addition, subtraction, multiplication, and division:

def calculator(num1, operator, num2):

  if operator == "+":

    return num1 + num2

  elif operator == "-":

    return num1 - num2

  elif operator == "*":

    return num1 * num2

  elif operator == "/":

    return num1 / num2


    return "Invalid operator"

print(calculator(2, "+", 3))

print(calculator(5, "-", 1))

print(calculator(4, "*", 5))

print(calculator(9, "/", 3))

It even went on to explain the different parts of the code: 

“This code defines a function calculator that takes in three arguments: num1, operator, and num2. The function first checks the value of the operator and then performs the corresponding arithmetic operation on num1 and num2. I hope this helps! Let me know if you have any questions or if you'd like to see any other examples.”

Pretty amazing, huh? So, developers have been trying to further enhance the capabilities of ChatGPT for specific purposes, just like what Nicolae Rusan did with error.tips.

Powerful AI tools can help you code. Are you up for it?

Auto-fixing code with error.tips

ChatGPT is very powerful when asked to perform tasks. However, it’s not real-time. This is what Nicolae Rusan set out to accomplish with error.tips. This tool was developed using OpenAI’s ChatGPT to provide real-time assistance when coding.

Using it is effortless, too. All you need to do is code, and the AI will give suggestions and error-solving tips. The app is currently not open to the public, and you need to request access to use it.

That said, there’s a Demo version available where you can paste your code, and the error message you get. Error.tips will then analyze the code and offer possible explanations for the error. It uses a smaller dataset than the real-time version, but it’s still incredibly helpful.

Another major feature is that no matter the programming language you use, error.tips has you covered. I’ve tried some broken Javascript code, and it gave a provably correct answer, stating that its degree of confidence was high. 

Its developer is still deciding on important design aspects, for instance, how to integrate it in your dev flow, and analyzing what prompts give the best solutions. Even though it’s still under development, it’s an incredible tool you can try for free on its official website.


Tutorials & Tips

Previous Post: «
Next Post: «


  1. Anonymous said on January 6, 2023 at 10:49 am

    Worst thing is that ppl tend to rely on that output w/o any critical thinking while already on the edge of forgetting how to critical think at all. you see it everyday. AI is sitll an euphemism, ppl forget that the algorithms behind dont understand shit about their output. but humans think those do.

    1. mikhoul said on January 6, 2023 at 8:58 pm


  2. John G. said on January 6, 2023 at 10:33 am

    These articles about ChatGPT are really awesome! I wonder what ChatGPT would say about chemical research to biodegrade plastic, or about cancer research or whatever any other really important things for the humans! Will AI solve some day the cancer illness? I hope it will do! Thanks @Shaun for the article.

    PS.: @Shaun, do you imagine a terror book wrote by ChatGPT? :S

  3. Jojo said on January 6, 2023 at 10:12 am

    Nice! Humans are becoming redundant and unnecessary.

  4. Messiaen said on January 6, 2023 at 10:05 am

    Python code isn’t exactly a challenge. Get it to sufficiently explain C++ Lambda Expressions (and what to do if you encounter one in a dark alley), and then we might be impressed. Or unemployed. Or both.

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

We love comments and welcome thoughtful and civilized discussion. Rudeness and personal attacks will not be tolerated. Please stay on-topic.
Please note that your comment may not appear immediately after you post it.