{"id":369512,"date":"2025-12-26T07:00:08","date_gmt":"2025-12-26T07:00:08","guid":{"rendered":"https:\/\/www.newsbeep.com\/ca\/369512\/"},"modified":"2025-12-26T07:00:08","modified_gmt":"2025-12-26T07:00:08","slug":"vibe-coding-with-ai-brings-computer-programming-to-everyone-with-pitfalls","status":"publish","type":"post","link":"https:\/\/www.newsbeep.com\/ca\/369512\/","title":{"rendered":"Vibe-coding with AI brings computer programming to everyone, with pitfalls"},"content":{"rendered":"<p><a style=\"display:block\" href=\"https:\/\/www.theglobeandmail.com\/resizer\/v2\/TWNQVOKB3FG4HPJX5G3ETUVW3I.JPG?auth=72cb58066bcf4777fc3252770c473fddea49c7352d22af3f13a13fc4044573f8&amp;width=600&amp;height=400&amp;quality=80&amp;smart=true\" aria-haspopup=\"true\" data-photo-viewer-index=\"0\" rel=\"nofollow noopener\" target=\"_blank\">Open this photo in gallery:<\/a><\/p>\n<p class=\"figcap-text\">Developers such as Saad Sahi, seen at home in Edmonton on Dec. 12, have found work cleaning up vibe-coding, or code generated with the help of artificial intelligence.Amber Bracken\/The Globe and Mail<\/p>\n<p class=\"c-article-body__text text-pr-5\">My computer coding education ended in a high school classroom in the early 2000s, when I created a game in which two camels spit at one another. The experience of typing every line of code was frustrating, but it was rewarding. (The game itself? It worked \u2013 mostly.) <\/p>\n<p class=\"c-article-body__text text-pr-5\">These days, I don\u2019t need any coding knowledge to build software thanks to <a href=\"https:\/\/www.theglobeandmail.com\/topics\/artificial-intelligence\/\" target=\"_blank\" rel=\"noreferrer nofollow noopener\" title=\"https:\/\/www.theglobeandmail.com\/topics\/artificial-intelligence\/\">artificial intelligence<\/a>. That\u2019s both a powerful and potentially dangerous thing.<\/p>\n<p class=\"c-article-body__text text-pr-5\">AI companies such as OpenAI and Anthropic have long focused on building tools that can write code that will speed up software development. Coding startups such as Cursor and Lovable, meanwhile, are worth billions of dollars. Professionals can use AI coding tools to assist with development, while amateurs who don\u2019t know their frontends from their backends can type plain language instructions into a chatbot, which will then be converted to code to create functioning software and websites.<\/p>\n<p class=\"c-article-body__text text-pr-5\">This is known as vibe-coding, a term coined <a href=\"https:\/\/x.com\/karpathy\/status\/1886192184808149383?lang=en\" rel=\"nofollow\">this year<\/a> by Andrej Karpathy, the former director of AI at Tesla Inc. <a href=\"https:\/\/www.theglobeandmail.com\/investing\/markets\/stocks\/TSLA-T\/\" target=\"_blank\" rel=\"noreferrer nofollow noopener\" title=\"https:\/\/www.theglobeandmail.com\/investing\/markets\/stocks\/TSLA-T\/\">TSLA-T<\/a> Among some programmers and <a href=\"https:\/\/www.reddit.com\/r\/programming\/comments\/1jdht20\/why_vibe_coding_makes_me_want_to_throw_up\/\" rel=\"nofollow noopener\" target=\"_blank\">Reddit boards<\/a>, vibe-coding is derided as the realm for charlatans who will produce buggy software full of security risks. Indeed, no serious company would deploy fully vibe-coded software without an overhaul. <a href=\"https:\/\/www.veracode.com\/wp-content\/uploads\/October-2025-GenAI-Code-Security-Report-Update.pdf\" target=\"_self\" rel=\"nofollow noopener\" title=\"https:\/\/www.veracode.com\/wp-content\/uploads\/October-2025-GenAI-Code-Security-Report-Update.pdf\">One study found<\/a> AI models introduce a known security flaw into code about 45 per cent of the time.<\/p>\n<p class=\"c-article-body__text text-pr-5\">But vibe-coding has its place. In that sense, it\u2019s not unlike any other application of generative AI. It can be impressive and useless, accurate and error-prone, save you time and waste it, solve your exact problem and lead you astray, all while carrying the potential to completely change how software is made and what the career itself will look like. Startups can already grow faster with fewer engineers thanks to AI coding tools, while <a href=\"https:\/\/www.theglobeandmail.com\/business\/article-canadian-ceos-embracing-generative-ai-speed-efficiency-impact\/\" rel=\"nofollow noopener\" target=\"_blank\">larger companies are rethinking<\/a> how many programmers they need to employ. At League Inc. in Toronto, which develops online health care platforms, engineers are saving between five to eight hours each week because of AI, founder Michael Serbinis said recently.<\/p>\n<p><a style=\"display:block\" href=\"https:\/\/www.theglobeandmail.com\/resizer\/v2\/GANKTOAGQJFOHAF6TQ22K7FLYA.JPG?auth=d5ba0feca464d6e0ff7d8fcb3f0c6d2dc42efcf94fae0b0404f8ff487d2e4c95&amp;width=600&amp;height=400&amp;quality=80&amp;smart=true\" aria-haspopup=\"true\" data-photo-viewer-index=\"1\" rel=\"nofollow noopener\" target=\"_blank\">Open this photo in gallery:<\/a><\/p>\n<p class=\"figcap-text\">Some of Sahi&#8217;s screens at his Edmonton home. Sahi has a business helping people with their vibe-coded projects.Amber Bracken\/The Globe and Mail<\/p>\n<p class=\"c-article-body__text text-pr-5\">Vibe-coding is permeating C-suites, too. The leadership team at George Weston Ltd., including Galen G. Weston, recently got a crash-course. The chief digital officer at Loblaw Cos. Ltd.<a href=\"https:\/\/www.theglobeandmail.com\/investing\/markets\/stocks\/L-T\/\" target=\"_blank\" rel=\"noreferrer nofollow noopener\" title=\"https:\/\/www.theglobeandmail.com\/investing\/markets\/stocks\/L-T\/\"> L-T<\/a> <a href=\"https:\/\/www.linkedin.com\/posts\/activity-7389690922864873472-KcuD\/\" rel=\"nofollow noopener\" target=\"_blank\">wrote on LinkedIn<\/a> that most of them had never heard of the concept before, but in under two hours, they built functional applications, including a pricing intelligence tool. (Loblaw did not respond to requests for more detail, including what Mr. Weston vibe-coded and whether the execs indeed \u201creplaced costly software,\u201d per the LinkedIn post.)<\/p>\n<p class=\"c-article-body__text text-pr-5\">BrainStation Inc., which provides certification for tech skills, has jumped on the trend. It offers two vibe-coding workshops, including one for Lovable, a popular platform for making web apps. \u201cWe\u2019re seeing people sign up for them in droves,\u201d said Jennifer McCuaig, vice-president of experience in Toronto.<\/p>\n<p class=\"c-article-body__text text-pr-5\">The popularity of vibe-coding is changing software development inside organizations, at least in the early stages. A designer with no coding ability can mock up something without involving the engineering team. Conversely, an engineer with no sense of colour theory can do the same without a designer. Functional prototypes can rapidly come together with less work, even if the blurring of roles can make some people uncomfortable. \u201cThere are probably individuals at certain organizations that feel threatened,\u201d Ms. McCuaig said. \u201cBut it\u2019s going to allow the best ideas to rise to the top faster.\u201d<\/p>\n<p class=\"c-article-body__text mv-16 l-inset text-pb-8\" data-sophi-feature=\"interstitial\"><a href=\"https:\/\/www.theglobeandmail.com\/business\/article-nvidia-to-buy-ai-chip-startup-groq-for-20-billion-report-says\/\" rel=\"nofollow noopener\" target=\"_blank\">Nvidia to license Groq technology, hire executives<\/a><\/p>\n<p class=\"c-article-body__text text-pr-5\">I want my ideas to rise to the top, so I gave Lovable a try. Social media is rife with AI hucksters showing off projects made with \u201cjust one prompt!\u201d But vibe-coding typically doesn\u2019t work that way. I told Lovable to generate a simple crossword app and it produced a fever dream. There was a word grid, though most of the black squares were clustered to one side, and it was totally unplayable. I tinkered for an hour or so without getting much further. Writing in all caps did not make the AI model follow instructions any better, much like shouting at an underling.<\/p>\n<p class=\"c-article-body__text text-pr-5\">My breakthrough, if it can be called that, was to explain my problem to another AI model, Google\u2019s <a href=\"https:\/\/www.theglobeandmail.com\/investing\/markets\/stocks\/GOOGL-Q\/\" target=\"_blank\" rel=\"noreferrer nofollow noopener\" title=\"https:\/\/www.theglobeandmail.com\/investing\/markets\/stocks\/GOOGL-Q\/\">GOOGL-Q<\/a> Gemini chatbot. Gemini told me to break up the task into components, such as getting the grid generation right first. Gemini was nudging me to engage in computational thinking, a core tenet of computer science that involves deconstructing problems and developing solutions that can be carried out by a computer.<\/p>\n<p class=\"c-article-body__text text-pr-5\">Fortunately, I didn\u2019t have to think much at all because Gemini also wrote detailed instructions for me to feed to Lovable. I was a trained monkey cutting and pasting, but making fantastic progress. I later ditched Lovable to start over with Google\u2019s own vibe-coding platform. When I ran into a problem where my crossword app populated half the grid with gibberish, no matter how many times I told it to stop making up words, Gemini explained this was a \u201cclassic LLM vs. Logic problem.\u201d The AI model had no memory of the words it had already placed, so it was just filling in cells to get the job done.<\/p>\n<p class=\"c-article-body__text text-pr-5\">Gemini told me to instruct the app to write a \u201crecursive backtracking algorithm,\u201d which sounded computer science-y enough, but didn\u2019t work. I suspected the vibe-coding app was gaslighting me when it told me it had scripted a \u201crecursive backtracking algorithm.\u201d Gemini provided another solution, which did the trick. After a few mornings, I had a basic but workable AI-generated crossword app, complete with bland AI-generated clues. I hadn\u2019t done much, but I felt accomplished.<\/p>\n<p class=\"c-article-body__text mv-16 l-inset text-pb-8\" data-sophi-feature=\"interstitial\"><a href=\"https:\/\/www.theglobeandmail.com\/business\/commentary\/article-artificial-intelligence-good-bad-ugly-environmental-costs\/\" rel=\"nofollow noopener\" target=\"_blank\">Eric Reguly: Artificial intelligence: the good, the bad and the ugly environmental costs<\/a><\/p>\n<p class=\"c-article-body__text text-pr-5\">Later, I came across <a href=\"https:\/\/albertofortin.com\/writing\/coding-with-ai\" rel=\"nofollow noopener\" target=\"_blank\">a blog post<\/a> from a developer in Britain, Alberto Fortin, that called vibe-coding a \u201crecipe for disaster\u201d for non-coders. \u201cWalls of code you don\u2019t understand, error after error,\u201d he wrote, \u201cwhich makes things even messier and complicated.\u201d As the creator of a hot vibe-coded crossword app, I took offence, though I knew he was right.<\/p>\n<p class=\"c-article-body__text text-pr-5\">Depending on the platform, vibe-coding can be expensive. You typically buy credits, and you can quickly burn through them when directing AI to fix errors beyond your comprehension. \u201cYou can spend quite a lot of money with AI, and you can also get nowhere,\u201d Mr. Fortin told me. \u201cIt\u2019s a bit of a shame that it\u2019s being hyped so much.\u201d<\/p>\n<p class=\"c-article-body__text text-pr-5\">The market always provides a solution, though. Search LinkedIn, and you\u2019ll find an emerging class of \u201cvibe-coding cleanup specialists\u201d who offer to fix your janky AI-generated app. Heygon Lago, who is completing a master\u2019s degree in Toronto, has tidied up a few projects for people who had given up. Security issues and the need to connect to databases tend to throw up roadblocks. \u201cAll of these clients started with an idea using AI, but couldn\u2019t even validate it with real customers because they couldn\u2019t get it publicly accessible,\u201d he said. \u201cOr what they built was publicly accessible and full of errors.\u201d Sometimes, he\u2019s had to start over from scratch.<\/p>\n<p class=\"c-article-body__text text-pr-5\"><a href=\"https:\/\/www.theglobeandmail.com\/business\/article-young-jobless-canadians-summer-unemployed-gen-z\/\" target=\"_self\" rel=\"nofollow noopener\" title=\"https:\/\/www.theglobeandmail.com\/business\/article-young-jobless-canadians-summer-unemployed-gen-z\/\">Amid a tough time<\/a> for entry level workers, cleaning up vibe-coded slop could prove to be a decent side hustle. Saad Sahi in Edmonton said he applied for hundreds of jobs without success after graduating with a computer science degree this year. The part-time gig he already had turned into full-time this fall, but many of his peers are still looking. <\/p>\n<p class=\"c-article-body__text text-pr-5\">Mr. Sahi has worked on about nine clean-up jobs so far on the side. \u201cI\u2019ll be the middleman to fix everything,\u201d he said. He doubted that AI tools are going to be perfect any time soon, meaning more gigs for him. \u201cA normal human who\u2019s never been that close to computer languages cannot fully explain what\u2019s in their mind,\u201d he said. \u201cI can understand human language and I can understand computer language.\u201d<\/p>\n<p><a style=\"display:block\" href=\"https:\/\/www.theglobeandmail.com\/resizer\/v2\/7L2BBHX5NBGY5CHITXLUGBHLQQ.JPG?auth=08855d29d853daff41a83a756d588a8e29032c5c9a47ccfdefcdbcb3a7065b5b&amp;width=600&amp;height=400&amp;quality=80&amp;smart=true\" aria-haspopup=\"true\" data-photo-viewer-index=\"2\" rel=\"nofollow noopener\" target=\"_blank\">Open this photo in gallery:<\/a><\/p>\n<p class=\"figcap-text\">Sahi at his desk on Dec. 12. He says he does not think AI tools will be perfect anytime soon, meaning work for him.Amber Bracken\/The Globe and Mail<\/p>\n<p class=\"c-article-body__text text-pr-5\">Just as amateurs can hit a wall, professional coders have found the limits. Josh Anderson, a consultant in North Carolina, used Anthropic\u2019s Claude to entirely vibe-code an app for planning road trips. As the lines of code piled up and the project became more complex, things started to break. Claude freelanced instead of following directions, and insisted it had correctly completed tasks when, in fact, it had not. He had to dive into the code himself. \u201cI was just lost,\u201d he said. The code was ostensibly his, but it wasn\u2019t really, and he had no intuitive understanding of it.<\/p>\n<p class=\"c-article-body__text text-pr-5\">Still, he completed the app in about 60 hours on evenings and weekends (without AI, it would have taken eight hours a day for a few weeks) and the exercise was useful to understand the edges of these tools. He found Claude failed to remember context beyond a certain point, unlike humans. \u201cWhat\u2019s most effective now with the current version of the models is to keep its scope and context as small as possible,\u201d he said.<\/p>\n<p class=\"c-article-body__text text-pr-5\">Researchers have documented similar complications. Yegor Denisov-Blanch at Stanford University tracked what happened when the engineering team at a large unnamed company adopted AI this year. Some companies and studies simply measure the lines of code generated as a proxy for productivity, but by looking deeper, Mr. Denisov-Blanch found that the quality of code decreased and it required more editing after introduction of AI, while productivity barely budged. <a href=\"https:\/\/www.youtube.com\/watch?v=JvosMkuNxF8\" rel=\"nofollow noopener\" target=\"_blank\">In a conference presentation<\/a> in December, he said the results should not be interpreted as a reason to ditch AI. Instead, the company should use the data to figure out what\u2019s going wrong.<\/p>\n<p class=\"c-article-body__text text-pr-5\">Mr. Fortin once looked at the guts of a vibe-coded project and was shocked. The script was like something written by a team of developers working in isolation from one another. He eventually realized he was relying too much on AI and that his coding skills were at risk of atrophying. His first instinct was no longer to sketch out ideas or solve problems with a pen and paper, but to turn to AI. \u201cIt\u2019s very hard to resist the urge to just give it as many things as you can,\u201d he said. He now forces himself to carry a notepad and pen to write things down first. Then he\u2019ll take a photo and feed it to AI.<\/p>\n<p class=\"c-article-body__text text-pr-5\">Mr. Fortin has been coding for years. What about students who are just learning computer science? In school, under pressure to turn in assignments and score decent grades, the temptation to rely on AI coding tools \u2013 and skip the hard work of learning \u2013 is presumably great. <\/p>\n<p class=\"c-article-body__text text-pr-5\">Eyal de Lara, computer science chair at the University of Toronto, said it\u2019s too early to say what kind of impact AI is having. Still, there have been changes. Assignments are now more complex, and there is an emphasis on having students walk instructors through their code to ensure they understand it. The department has also spent \u201ca significant amount of money\u201d upgrading labs to quiz students regularly in a controlled environment. \u201cThe faculty has worked in different ways to make sure they are periodically testing the students to make sure they\u2019re actually learning,\u201d he said.<\/p>\n<p class=\"c-article-body__text mv-16 l-inset text-pb-8\" data-sophi-feature=\"interstitial\"><a href=\"https:\/\/www.theglobeandmail.com\/business\/careers\/leadership\/article-ais-convenience-is-putting-critical-thinking-on-notice\/\" rel=\"nofollow noopener\" target=\"_blank\">Opinion: AI\u2019s convenience is putting critical thinking on notice<\/a><\/p>\n<p class=\"c-article-body__text text-pr-5\">At the University of Waterloo, Charles Clarke, who teaches first-year students, is concerned that some of them may rely too much on AI, and then their skills will plateau. \u201cI can sense it happening,\u201d he said, adding that it\u2019s only his personal observation and that it\u2019s the school\u2019s role to help students avoid that trap. <\/p>\n<p class=\"c-article-body__text text-pr-5\">He uses AI in his own programming work, in targeted ways. \u201cI don\u2019t think I\u2019d ever code again without some kind of AI assistance,\u201d he said. \u201cIt\u2019s like working with a junior developer. You\u2019re keeping an eye on everything they\u2019re doing.\u201d<\/p>\n<p class=\"c-article-body__text text-pr-5\">Ironically, the guy credited with the term appears to have become slightly less enamoured with it. When Andrej Karpathy released a new project in October, someone asked him on X how much he wrote himself. Mr. Karpathy tried AI, <a href=\"https:\/\/x.com\/karpathy\/status\/1977758204139331904\" target=\"_self\" rel=\"nofollow\" title=\"https:\/\/x.com\/karpathy\/status\/1977758204139331904\">he wrote,<\/a> but it didn\u2019t work well enough and was downright unhelpful. \u201cIt\u2019s basically entirely handwritten.\u201d<\/p>\n","protected":false},"excerpt":{"rendered":"Open this photo in gallery: Developers such as Saad Sahi, seen at home in Edmonton on Dec. 12,&hellip;\n","protected":false},"author":2,"featured_media":369513,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[62,901,276,277,888,902,879,877,903,49,48,876,895,896,891,878,875,46,549,295,894,887,914,880,881,893,889,890,884,904,885,909,910,912,907,911,905,908,882,898,899,714,897,906,865,61,900,892,886,883,913],"class_list":["post-369512","post","type-post","status-publish","format-standard","has-post-thumbnail","category-artificial-intelligence","tag-ai","tag-alberta","tag-artificial-intelligence","tag-artificialintelligence","tag-arts-news","tag-bc","tag-breaking-news","tag-breaking-news-video","tag-british-columbia","tag-ca","tag-canada","tag-canada-news","tag-canada-sports","tag-canada-sports-news","tag-canada-trafficcanada-weather","tag-canadian-breaking-news","tag-canadian-news","tag-economy","tag-education","tag-environment","tag-federal-government","tag-foreign-news","tag-globe-and-mail","tag-globe-and-mail-breaking-news","tag-globe-and-mail-canada-news","tag-government","tag-life-news","tag-lifestyle","tag-local-news","tag-manitoba","tag-national-news","tag-new-brunswick","tag-newfoundland-and-labrador","tag-northwest-territories","tag-nova-scotia","tag-nunavut","tag-ontario","tag-pei","tag-photos","tag-political-news","tag-political-opinion","tag-politics","tag-politics-news","tag-quebec","tag-sports-news","tag-technology","tag-travel","tag-trudeau","tag-us-news","tag-world-news","tag-yukon"],"_links":{"self":[{"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/posts\/369512","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/comments?post=369512"}],"version-history":[{"count":0,"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/posts\/369512\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/media\/369513"}],"wp:attachment":[{"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/media?parent=369512"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/categories?post=369512"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/tags?post=369512"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}