What is vibe coding, should you be doing it, and does it matter?
www.newscientist.com
Getting an AI to write software for you? Thats vibe codingronstik/AlamyWant to write software, but havent got the first clue where to start? Enter vibe coding, a term that has swept the internet to describe the use of AI tools, including large language models (LLMs) like ChatGPT, to generate computer code even if you cant program.What is vibe coding and where did it come from?Vibe coding basically refers to using generative AI not just to assist with coding, but to generate the entire code for an app, says Noah Giansiracusa at Bentley University in Waltham, Massachusetts. Users ask, or prompt, LLM-based models such as ChatGPT, Claude or Copilot to produce the code for an app or service, and the AI system does all the work. AdvertisementThe term was coined by Andrej Karpathy, a skilled software engineer who was head of AI at Tesla and a founding engineer at OpenAI the maker of ChatGPT. In February, he posted on X about a new kind of coding I call vibe coding.Karpathy described it as where you fully give in to the vibes, embrace exponentials, and forget that the code even exists. The term was born and the idea took hold. That captured a moment that resonated with so many people, because theres a whole bunch of people who are non-programmers who are starting to play with LLMs, writing code and getting amazing results out of them, says Simon Willison, a software developer.What is the point of vibe coding?Software engineering can be a tricky thing to learn and as a result, many people dont bother. Vibe coding can help people with ideas for tools, apps and services to make them a reality without the challenge of learning the specifics of a programming language.The latest science news delivered to your inbox, every day.Sign up to newsletterOn the one hand its a gamechanger, because a lot of people are vibe coding, and over the course of a few prompting cycles you can get something thats amazing and something that for people who cant program its better than anything they could do on their own, says Matt Wood at Northumbria University, UK. But it can also result in incomplete, error-strewn software, he adds.So is vibe coding a good thing or a bad thing?Opinion is split. Youve got all these people on LinkedIn and Twitter making outrageous claims that nobody needs to learn to program anymore, says Willison, who believes that is overstating the power of vibe coding.My sense is that this is a promising direction that will get a lot better and that well see a lot more of in the near future, but at present its a bit limited and has some reliability issues, says Giansiracusa. The code produced can often be buggy, and because the people prompting it dont have the inherent knowledge to fix it, they are overly reliant on the same LLMs that made the errors to fix them.Will vibe coding change software engineering?One of the big claims about AI is its ability to take our jobs. But there is little evidence that vibe coding will replace software engineers despite some social media boasts. Its not going to replace programmers, says Wood.I feel like the job of a software engineer is to produce software that works, says Willison. One of the reasons I dont think were going to be put out of our jobs by these systems is actually, a huge amount of the work that we do with software engineers has nothing to do with typing the code.Topics:software
0 التعليقات ·0 المشاركات ·67 مشاهدة