* . *
  • About
  • Advertise
  • Privacy & Policy
  • Contact
Saturday, September 20, 2025
Earth-News
  • Home
  • Business
  • Entertainment
    Shakespeare (with a twist) in Grand Junction – Yahoo

    Experience Shakespeare Like Never Before in Grand Junction

    Congress Bill Spotlight: Make Entertainment Great Again (MEGA) Act, Renaming Kennedy Center to Trump Center – The Fulcrum

    Congress Proposes MEGA Act to Rename Kennedy Center as Trump Center and Revitalize Entertainment

    Massive Attack Say They’ll Remove Music From Spotify – yahoo.com

    Massive Attack Announces Plans to Pull Their Music from Spotify

    REO to return for UI homecoming – The News-Gazette

    REO Gears Up to Ignite the Stage at UI Homecoming Celebration!

    Gen V Season 2: What is The Odessa Project? – yahoo.com

    Gen V Season 2: Unlocking the Secrets of The Odessa Project

    PENN Entertainment stock rating reiterated at Market Outperform by JMP – Investing.com

    PENN Entertainment Stock Rated a Market Outperformer by Experts

  • General
  • Health
  • News

    Cracking the Code: Why China’s Economic Challenges Aren’t Shaking Markets, Unlike America’s” – Bloomberg

    Trump’s Narrow Window to Spread the Truth About Harris

    Trump’s Narrow Window to Spread the Truth About Harris

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Trending Tags

    • Trump Inauguration
    • United Stated
    • White House
    • Market Stories
    • Election Results
  • Science
  • Sports
  • Technology
    Top Technology Executives Recognized at the 2025 Carolina CIO ORBIE Awards – Yahoo Finance

    Celebrating Excellence: Top Technology Executives Honored at the 2025 Carolina CIO ORBIE Awards

    Gesture-Control Wearables Redefine Human-Technology Interaction – Yahoo Finance

    Gesture-Control Wearables Are Revolutionizing How We Interact with Technology

    Huawei Unveils New AI Chip Tech to Challenge Nvidia’s Lead – Bloomberg.com

    Huawei Unveils New AI Chip Tech to Challenge Nvidia’s Lead – Bloomberg.com

    China says US TikTok deal a ‘win-win’, will review app’s technology and IP transfers – Reuters

    China Hails US TikTok Deal as a ‘Win-Win’ While Launching Review of App’s Technology and IP Transfers

    Bucking the Odds: Why Technology Companies Should Embrace Software Patents Today – Crowell & Moring LLP

    Bucking the Odds: Why Technology Companies Should Embrace Software Patents Today – Crowell & Moring LLP

    City IT presented Best of North Carolina Technology Award – RaleighNC.gov

    City IT Honored with Best of North Carolina Technology Award

    Trending Tags

    • Nintendo Switch
    • CES 2017
    • Playstation 4 Pro
    • Mark Zuckerberg
No Result
View All Result
  • Home
  • Business
  • Entertainment
    Shakespeare (with a twist) in Grand Junction – Yahoo

    Experience Shakespeare Like Never Before in Grand Junction

    Congress Bill Spotlight: Make Entertainment Great Again (MEGA) Act, Renaming Kennedy Center to Trump Center – The Fulcrum

    Congress Proposes MEGA Act to Rename Kennedy Center as Trump Center and Revitalize Entertainment

    Massive Attack Say They’ll Remove Music From Spotify – yahoo.com

    Massive Attack Announces Plans to Pull Their Music from Spotify

    REO to return for UI homecoming – The News-Gazette

    REO Gears Up to Ignite the Stage at UI Homecoming Celebration!

    Gen V Season 2: What is The Odessa Project? – yahoo.com

    Gen V Season 2: Unlocking the Secrets of The Odessa Project

    PENN Entertainment stock rating reiterated at Market Outperform by JMP – Investing.com

    PENN Entertainment Stock Rated a Market Outperformer by Experts

  • General
  • Health
  • News

    Cracking the Code: Why China’s Economic Challenges Aren’t Shaking Markets, Unlike America’s” – Bloomberg

    Trump’s Narrow Window to Spread the Truth About Harris

    Trump’s Narrow Window to Spread the Truth About Harris

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Trending Tags

    • Trump Inauguration
    • United Stated
    • White House
    • Market Stories
    • Election Results
  • Science
  • Sports
  • Technology
    Top Technology Executives Recognized at the 2025 Carolina CIO ORBIE Awards – Yahoo Finance

    Celebrating Excellence: Top Technology Executives Honored at the 2025 Carolina CIO ORBIE Awards

    Gesture-Control Wearables Redefine Human-Technology Interaction – Yahoo Finance

    Gesture-Control Wearables Are Revolutionizing How We Interact with Technology

    Huawei Unveils New AI Chip Tech to Challenge Nvidia’s Lead – Bloomberg.com

    Huawei Unveils New AI Chip Tech to Challenge Nvidia’s Lead – Bloomberg.com

    China says US TikTok deal a ‘win-win’, will review app’s technology and IP transfers – Reuters

    China Hails US TikTok Deal as a ‘Win-Win’ While Launching Review of App’s Technology and IP Transfers

    Bucking the Odds: Why Technology Companies Should Embrace Software Patents Today – Crowell & Moring LLP

    Bucking the Odds: Why Technology Companies Should Embrace Software Patents Today – Crowell & Moring LLP

    City IT presented Best of North Carolina Technology Award – RaleighNC.gov

    City IT Honored with Best of North Carolina Technology Award

    Trending Tags

    • Nintendo Switch
    • CES 2017
    • Playstation 4 Pro
    • Mark Zuckerberg
No Result
View All Result
Earth-News
No Result
View All Result
Home Technology

If you use AI to teach you how to code, remember you still need to think for yourself

January 28, 2024
in Technology
If you use AI to teach you how to code, remember you still need to think for yourself
Share on FacebookShare on Twitter

Feature Learning how to program is perhaps now easier than ever with AI, though the tools that suggest or generate source code for you have to be used wisely. 

Programming requires patience and persistence, especially at the start of the learning process when nothing makes much sense. The rules for writing code seem confusing. There are all sorts of punctuation marks and symbols that have to be used carefully. Missing a colon or a comma, or messing up the indentation can lead to errors, depending on the language used. Over time, with enough practice, it does click into place.

Like most beginners learning how to code online, I started by watching tutorials and solving problems in sets of programming exercises. When I got stuck on a problem, it was very tempting to turn to ChatGPT, which would easily help me jump to the right solution. These types of assistants are good at generating simple code, and some of them can even give you a complete answer just as you’re describing it.

I realized this when wrestling with the implementation of a particular function, and turned off GitHub Copilot’s autocomplete feature in Visual Studio Code to stop myself from cheating.

Don’t just copy and paste

David Malan, a computer science professor at Harvard University teaching CS50, a popular introductory computer science course (that can be taken for free online), agreed that AI can be a little too helpful sometimes. 

To dissuade students from using tools like OpenAI’s ChatGPT or Google’s Bard to complete their assignments, teachers offered them an alternative: a virtual rubber duck. The CS50 duck is a coding chat-bot powered by GPT-4 but has guardrails in place to prevent students from cheating.

Rubber duck debugging, as you may be aware, is a thing in software development: if you’re stuck on some code, talking though the problem with some toy or other inanimate object can help you figure out the solution all by yourself. It’s quite effective.

The CS50 duck debugger is an homage to that: the bot has been primed to be friendly and supportive, it only responds to queries that are related to the course, and doesn’t provide the answers to homework problems, Malan told The Register. 

“Our policy at the course’s start is that students may not use third-party software like ChatGPT and Copilot; they simply tend to be too helpful, all too willing to provide students with solutions outright rather than guide them toward them, as a good teacher might. But students are allowed and encouraged to use CS50’s own AI-based software, which has those pedagogical guardrails in place,” he said.

The CS50 duck was introduced last year, and the feedback has been mostly positive. Having a virtual tutor on hand means students can ask for help at any time they want. But like all AI models, it can make mistakes and isn’t always accurate. Initial tests showed it was able to answer about 88 percent of questions related to the curriculum correctly. 

The coding bot is useful for instructors, too; it gives them more time to help students in other areas beyond homework. In a research paper [PDF] analyzing the duck debugger’s impact, teachers at Harvard said their experiment building a virtual AI coding assistant has paid off. They believe “generative AI [can] bolster student learning, not merely disrupt it,” and are looking at ways the technology can be applied in other subjects.

Saving time with less Googling

For what it’s worth, my academic background is in physics and science journalism, and not computer science. I started learning how to code just before the latest generation of chat bots took off. Previously I would try to understand software concepts or fix bugs by, like many people, reading blog posts or searching for examples of similar code on sites like Stack Overflow. AI allows me to shortcut this process.

Instead of sifting through lots of information to find solutions that best match my problem, I can now turn to a large language model for direct help. I’m learning so that I can better understand the technologies that others are using; these digital assistants get me up to speed faster than poring over multiple articles about, say, slices versus arrays, or leafing through other people’s software projects.

Machine-written code, however, isn’t always useful, and can lower the quality of a code base. If I copied and pasted an AI assistant’s output into my source, it would often introduce new errors because it didn’t fit with the rest of my program. Trying to fix these mistakes can be tricky, especially if you don’t understand what has been generated. As a novice, it wasn’t always clear whether the errors were because the code was just plain wrong or whether it was being used in the wrong context.

What is Model Collapse and how to avoid it

Simon Willison interview: AI software still needs the human touch

Google’s AI-fueled IDE Project IDX tries to show you how your app runs on Android, iOS

Wait, security courses aren’t a requirement to graduate with a computer science degree?

“I think if someone wanted to learn to code [using the current] crop of AI tools, they should approach it with two goals: Take the time to learn to code enough to know what the tool is generating. [And] adopt the role of ‘code reviewer’ and study how to identify and improve bad code,” Zed Shaw, a software developer and the author of Learn Python the Hard Way, told The Register. 

Programmers should be able to spot errors in machine-made code and shouldn’t trust the bots completely. “The fact that ChatGPT gives solutions quicker wrapped in reassuring phrases like ‘I think this should solve your problem…” make it so we turn off our critical thinking, and we don’t question its solutions as carefully as we should,” said Charles Severance, a computer science professor at the University of Michigan’s School of Information, who has released free coding courses online.

“Always assume that ChatGPT is a less-skilled programmer than you are. The only safe way to use AI tools is when you are confident the solution that it produces is correct,” he added. 

You need to know what you’re doing

To use these tools effectively, you must understand your problem and explain it clearly in your prompt. The quality of the code returned in the output depends on the way you frame your questions in the input, Inbal Shani, chief product officer at GitHub, told The Register.

Users should interact with GitHub Copilot as if they were talking to a colleague, she suggested. “The more detail you give that assistant that sits next to you about what your intention is, where you’re going for the problem you’re trying to solve, the better response you’ll get because the AI gets more context. It knows how to do a more detailed search to find that right piece of code or recommend the right testing infrastructure for you,” she said. 

The programming languages we use have become more aligned with human language; chat tools are just the next step in this evolution

Phillip Compeau, a assistant teaching professor at Carnegie Mellon University, who created the Rosalind platform and Programming for Lovers tutorial, for people interested in computational biology, agreed.

When he’s teaching students who are beginning to code, he encourages them to stay away from AI. But for more advanced students who know the basics, he teaches them how to use the technology to be more productive and efficient in their work.

“One of the things that I show students is that the best way to get a clean, correct answer from an AI tool generating code is if you are able to clearly and correctly specify exactly what the computer needs to do. That is the very definition of programming a computer, and over time, the programming languages we use have become more aligned with human language; chat tools are just the next step in this evolution,” he told The Register. 

Figuring out what you want your program to do, how it should work, and where it’s gone wrong, is crucial in coding. Learners can only build these core skills over time with consistent practice. You can’t skip this process by relying on AI if you want to be a competent software developer. But if you use it wisely, you can improve quickly and become a good programmer – and maybe it’ll even be fun. ®

>>> Read full article>>>
Copyright for syndicated content belongs to the linked Source : The Register – https://go.theregister.com/feed/www.theregister.com/2024/01/27/ai_coding_automatic/

Tags: RememberTeachtechnology
Previous Post

The Land Before Linux: Let’s talk about the Unix desktops

Next Post

Claims Emerge Kate Middleton Hid ‘Planned Abdominal Surgery’ From Those Close To Royals

AI for ecology and conservation: New tools track food webs and soundscapes – Phys.org

AI for ecology and conservation: New tools track food webs and soundscapes – Phys.org

September 20, 2025
Game Changer: How Data Science Is Revolutionizing Athlete Performance – Study Finds

Game Changer: How Data Science Is Revolutionizing Athlete Performance – Study Finds

September 20, 2025
New NASA Mission to Reveal Earth’s Invisible ‘Halo’ – NASA Science (.gov)

Discover Earth’s Invisible ‘Halo’ in Exciting New NASA Mission

September 20, 2025
How Marie Antoinette became the most fashionable queen in history – KOAM News Now

How Marie Antoinette became the most fashionable queen in history – KOAM News Now

September 20, 2025
Top Technology Executives Recognized at the 2025 Carolina CIO ORBIE Awards – Yahoo Finance

Celebrating Excellence: Top Technology Executives Honored at the 2025 Carolina CIO ORBIE Awards

September 20, 2025
Mets’ Brandon Nimmo gives young ace strong show of support – Yahoo Sports

Mets’ Brandon Nimmo gives young ace strong show of support – Yahoo Sports

September 20, 2025
Swim Coach serves as Assistant Coach for World Para Championships – news.stthom.edu

Swim Coach serves as Assistant Coach for World Para Championships – news.stthom.edu

September 19, 2025

Henderson Small Business Expo Boosts Local Economy, Opens New Doors – 96.3 KKLZ

September 19, 2025
Shakespeare (with a twist) in Grand Junction – Yahoo

Experience Shakespeare Like Never Before in Grand Junction

September 19, 2025

Lehigh University and Good Shepherd Rehabilitation Join Forces to Advance Disability Health Equity

September 19, 2025

Categories

Archives

September 2025
MTWTFSS
1234567
891011121314
15161718192021
22232425262728
2930 
« Aug    
Earth-News.info

The Earth News is an independent English-language daily published Website from all around the World News

Browse by Category

  • Business (20,132)
  • Ecology (828)
  • Economy (847)
  • Entertainment (21,726)
  • General (17,135)
  • Health (9,891)
  • Lifestyle (861)
  • News (22,149)
  • People (851)
  • Politics (857)
  • Science (16,058)
  • Sports (21,347)
  • Technology (15,830)
  • World (831)

Recent News

AI for ecology and conservation: New tools track food webs and soundscapes – Phys.org

AI for ecology and conservation: New tools track food webs and soundscapes – Phys.org

September 20, 2025
Game Changer: How Data Science Is Revolutionizing Athlete Performance – Study Finds

Game Changer: How Data Science Is Revolutionizing Athlete Performance – Study Finds

September 20, 2025
  • About
  • Advertise
  • Privacy & Policy
  • Contact

© 2023 earth-news.info

No Result
View All Result

© 2023 earth-news.info

No Result
View All Result

© 2023 earth-news.info

Go to mobile version