DEV Community

Cover image for Artificial Intelligence and Coding
Wade Zimmerman
Wade Zimmerman

Posted on • Edited on

Artificial Intelligence and Coding

Today someone DM'd me about something called "Online code generation platform" which is a term I never heard of. What I found was more than a dozen options!

Image description

Part of me thinks this is cool and I want and jump right in, but anyone who has written software based on multiple NPM packages knows that having a bunch of options is not always a good thing. Sometimes there are too many options.

For large businesses and cooperations I imagine navigating this is a breeze with security experts in place, but what does this mean for small businesses and content creators?

How much future technology is too much? Do I need to keep up with all the videos? What are "TODO apps" of the future going to look like when Artificial Intelligence can do most the work?

It is October and these are spooky questions to think about. Normally I would ask ChatGPT or Google for advice but sometimes I feel like the answers I get are not the same as hearing from the community.

What do you think about Artificial Intelligence so far?

Top comments (6)

Collapse
 
gokayburuc profile image
gokayburuc.dev

Artificial intelligence gives average and collective answers. It does not always produce the best solution.

Sometimes the best solution is the one that is below average. Sometimes you need to add something outside the average

. One of the handicaps of artificial intelligence is that the learning model is based on the analysis of the existing structure. In other words, it produces results by combining the data in the existing structure. But sometimes the existing structure may not be the most ideal structure. Henry Ford has a saying "If I had asked people what they wanted, they would have wanted faster horses. But I gave them cars."

At some points, you need to trust your instincts. In particular, you should get used to asking questions with 2 or more different hats. What do I expect from an application as a user? What is the best solution for the developer? What do I expect from this project as a finance expert? If you can answer these questions and use artificial intelligence only as a tool, I think you can get the results you want.

Collapse
 
wadecodez profile image
Wade Zimmerman

This seems pragmatic and inspirational so I think I agree with that advice. How might these tools help in non-standard scenarios or beyond high-paying jobs?

Collapse
 
gokayburuc profile image
gokayburuc.dev • Edited

First of all, after clearly stating the goals of the project in a digital or physical notebook, you should start by asking as many questions as you can about your project.

For example,

Purpose: Writing a theme generator for Telegram with Rust

  • What are the libraries required to write a theme generator for Telegram with Rust?
  • How is the installation of library named X done?
  • How does library named X work?
  • What are the alternative libraries to library named X?
  • How can I access the official documentation and quick start guide for library X?
  • Is there an existing theme generator library written in Rust?
  • How can I disassemble the project on Github and examine it?
  • How can I translate theme generator projects written in other languages ​​on Github to Rust?
  • What are the pros and cons of existing projects?
  • How can I connect to the Telegram API structure with Rust?
  • How to obtain Telegram API Access Key?
  • How to add API Access Key to Rust project?
  • How to obtain Token for Telegram API?
  • How to perform API Connection tests?
  • What is required to switch the project from CLI structure to GUI or TUI structure?
  • How can the project run error-free on different OS systems?
  • How to transfer Rust Project to Docker?
  • How can I turn a project into an App?
  • How to prepare a web App with React?
  • How to prepare a web app with Next JS?
  • How do I include my Rust project in a React project?
  • How can I make improvements to the code for the optimum operation of the project?

After writing enough questions in a classified manner, you can create prompts for them and control your project step by step. In this way, you will have complete control over the project stages during the development of the project with AI Tools.

Thread Thread
 
wadecodez profile image
Wade Zimmerman

Thanks for the tip! Already committed! Gotta catch up 😝
youtube.com/watch?v=it3E6vtExSE

Been trying to tell everyone about AI for that reason. Pretty sure Google has been on it for a while.

Thread Thread
 
gokayburuc profile image
gokayburuc.dev

Be careful about AI. If you use it for your job it's a good servant if it starts to use you for it's own job it is a bad master. It was also written in an old story that a person who created a golem to do his dirty work was drowned by the golem he created.

Here comes the paperclip apocalypse :

What is the paperclip apocalypse?

_The notion arises from a thought experiment by Nick Bostrom (2014), a philosopher at the University of Oxford. Bostrom was examining the 'control problem': how can humans control a super-intelligent AI even when the AI is orders of magnitude smarter. Bostrom's thought experiment goes like this: suppose that someone programs and switches on an AI that has the goal of producing paperclips. The AI is given the ability to learn, so that it can invent ways to achieve its goal better. As the AI is super-intelligent, if there is a way of turning something into paperclips, it will find it. It will want to secure resources for that purpose. The AI is single-minded and more ingenious than any person, so it will appropriate resources from all other activities. Soon, the world will be inundated with paperclips. _

Thread Thread
 
wadecodez profile image
Wade Zimmerman

Meh