* . *
  • About
  • Advertise
  • Privacy & Policy
  • Contact
Friday, November 21, 2025
Earth-News
  • Home
  • Business
  • Entertainment
    Star Panel to Consider Moviegoing in an Evolving Marketplace – Noozhawk

    Star Panel to Explore the Future of Moviegoing in a Changing Marketplace

    Mattel makes another bold family-entertainment move beyond toys – TheStreet

    Mattel makes another bold family-entertainment move beyond toys – TheStreet

    Themed Entertainment Association announces 32nd annual Thea Award recipients – InPark Magazine

    Themed Entertainment Association announces 32nd annual Thea Award recipients – InPark Magazine

    American Legion Hall celebrates Veterans with night of entertainment – Bethany Republican-Clipper

    American Legion Hall celebrates Veterans with night of entertainment – Bethany Republican-Clipper

    Liev Schreiber ‘cleared to return to work’ after weekend hospitalization, rep confirms – Los Angeles Times

    Liev Schreiber ‘cleared to return to work’ after weekend hospitalization, rep confirms – Los Angeles Times

    Claire Danes Gets Honest About Her Surprise Pregnancy at Age 44 – Yahoo

    Claire Danes Gets Honest About Her Surprise Pregnancy at Age 44 – Yahoo

  • 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
    MACo’s Inaugural Information Technology Conference – Maryland Association of Counties

    Maryland’s Inaugural Information Technology Conference Sparks a New Era of County Innovation

    F&I Sentinel Recognized on the 2025 Deloitte Technology Fast 500™ for the Second Consecutive Year – PR Newswire

    F&I Sentinel Achieves Back-to-Back Honors on the 2025 Deloitte Technology Fast 500™

    Keeping up with new technology – The Clinton Chronicle

    Stay Ahead of the Curve: Master the Hottest Technology Trends Today

    How hybrid technology supports sustainable driving – AZ Big Media

    How Hybrid Technology is Powering the Future of Sustainable Transportation

    Mid-Atlantic Technology Summit 2025 showcases next-gen tools for first responders – FireRescue1

    Mid-Atlantic Technology Summit 2025 Reveals Game-Changing Tools Empowering First Responders

    CFCC to host career discovery nights on K-12 Teacher Preparation and Chemical Technology programs – WECT

    Unlock Your Potential: Career Discovery Nights for K-12 Teacher Preparation and Chemical Technology Programs at CFCC

    Trending Tags

    • Nintendo Switch
    • CES 2017
    • Playstation 4 Pro
    • Mark Zuckerberg
No Result
View All Result
  • Home
  • Business
  • Entertainment
    Star Panel to Consider Moviegoing in an Evolving Marketplace – Noozhawk

    Star Panel to Explore the Future of Moviegoing in a Changing Marketplace

    Mattel makes another bold family-entertainment move beyond toys – TheStreet

    Mattel makes another bold family-entertainment move beyond toys – TheStreet

    Themed Entertainment Association announces 32nd annual Thea Award recipients – InPark Magazine

    Themed Entertainment Association announces 32nd annual Thea Award recipients – InPark Magazine

    American Legion Hall celebrates Veterans with night of entertainment – Bethany Republican-Clipper

    American Legion Hall celebrates Veterans with night of entertainment – Bethany Republican-Clipper

    Liev Schreiber ‘cleared to return to work’ after weekend hospitalization, rep confirms – Los Angeles Times

    Liev Schreiber ‘cleared to return to work’ after weekend hospitalization, rep confirms – Los Angeles Times

    Claire Danes Gets Honest About Her Surprise Pregnancy at Age 44 – Yahoo

    Claire Danes Gets Honest About Her Surprise Pregnancy at Age 44 – Yahoo

  • 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
    MACo’s Inaugural Information Technology Conference – Maryland Association of Counties

    Maryland’s Inaugural Information Technology Conference Sparks a New Era of County Innovation

    F&I Sentinel Recognized on the 2025 Deloitte Technology Fast 500™ for the Second Consecutive Year – PR Newswire

    F&I Sentinel Achieves Back-to-Back Honors on the 2025 Deloitte Technology Fast 500™

    Keeping up with new technology – The Clinton Chronicle

    Stay Ahead of the Curve: Master the Hottest Technology Trends Today

    How hybrid technology supports sustainable driving – AZ Big Media

    How Hybrid Technology is Powering the Future of Sustainable Transportation

    Mid-Atlantic Technology Summit 2025 showcases next-gen tools for first responders – FireRescue1

    Mid-Atlantic Technology Summit 2025 Reveals Game-Changing Tools Empowering First Responders

    CFCC to host career discovery nights on K-12 Teacher Preparation and Chemical Technology programs – WECT

    Unlock Your Potential: Career Discovery Nights for K-12 Teacher Preparation and Chemical Technology Programs at CFCC

    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

Restoring the Loire’s natural flow: a major EU-supported ecological and territorial achievement – European Commission

Reviving the Loire River: A Landmark Ecological and Regional Success Backed by the EU

November 21, 2025
NJ Supreme Court rules on shaken baby syndrome. ‘We are judges, not scientists’ – Central New Jersey News

NJ Supreme Court rules on shaken baby syndrome. ‘We are judges, not scientists’ – Central New Jersey News

November 21, 2025
Inside the Science Library’s newest exhibit on biodiversity – New University | UC Irvine

Discover the Amazing World of Biodiversity at the Science Library’s Exciting New Exhibit!

November 21, 2025

How much historic Braintree house rental is listed for. And one quirky thing – Yahoo

November 21, 2025
MACo’s Inaugural Information Technology Conference – Maryland Association of Counties

Maryland’s Inaugural Information Technology Conference Sparks a New Era of County Innovation

November 21, 2025
College Sports Commission sends participation agreement to Power Four conferences – CBS Sports

College Sports Commission Unveils Bold New Participation Agreement to Energize Power Four Conferences

November 21, 2025
Japan’s exports to the world rise but drop to the US due to tariffs – WRAL

Japan’s exports to the world rise but drop to the US due to tariffs – WRAL

November 21, 2025
These stocks are set to outperform in a ‘K-shape’ economy, Wolfe Research says – CNBC

Stocks Poised to Soar in a ‘K-Shaped’ Economy: Top Picks to Watch

November 21, 2025
Star Panel to Consider Moviegoing in an Evolving Marketplace – Noozhawk

Star Panel to Explore the Future of Moviegoing in a Changing Marketplace

November 21, 2025
Africa CDC Unveils a New Vision for Health Security and Sovereignty Across the Continent – Africa CDC

Africa CDC Unveils Ambitious Plan to Boost Health Security and Sovereignty Across the Continent

November 21, 2025

Categories

Archives

November 2025
M T W T F S S
 12
3456789
10111213141516
17181920212223
24252627282930
« Oct    
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 (930)
  • Economy (949)
  • Entertainment (21,824)
  • General (18,306)
  • Health (9,989)
  • Lifestyle (960)
  • News (22,149)
  • People (954)
  • Politics (962)
  • Science (16,163)
  • Sports (21,450)
  • Technology (15,930)
  • World (936)

Recent News

Restoring the Loire’s natural flow: a major EU-supported ecological and territorial achievement – European Commission

Reviving the Loire River: A Landmark Ecological and Regional Success Backed by the EU

November 21, 2025
NJ Supreme Court rules on shaken baby syndrome. ‘We are judges, not scientists’ – Central New Jersey News

NJ Supreme Court rules on shaken baby syndrome. ‘We are judges, not scientists’ – Central New Jersey News

November 21, 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