* . *
  • About
  • Advertise
  • Privacy & Policy
  • Contact
Tuesday, June 3, 2025
Earth-News
  • Home
  • Business
  • Entertainment
    Entertainment Partners Acquires CASHét, Digital Payments Vendor for Productions – Variety

    Entertainment Partners Acquires CASHét, Digital Payments Vendor for Productions – Variety

    Salem’s Harborwalk Garden Cultivates Community with Entertainment, Food, and Events – 105.7 WROR

    Discover the Vibrant Community Spirit at Salem’s Harborwalk Garden: A Hub for Entertainment, Food, and Fun!

    Entertainment-Focused Narrative and Culture Change Practice – New America

    Transforming Culture Through Engaging Entertainment Narratives

    Rising stars: Young classical musicians surging on social media – Yahoo

    Meet the Next Generation of Classical Music Sensations Making Waves on Social Media!

    Devin Harjes Dies: ‘Manifest’ & ‘Boardwalk Empire’ Actor Was 41 – WyomingNews.com

    Tragic Loss: Devin Harjes, Star of ‘Manifest’ and ‘Boardwalk Empire,’ Passes Away at 41

    Why Starz Entertainment Stock Soared Today – The Motley Fool

    Unpacking the Surge: What Fueled Starz Entertainment’s Stock Explosion Today!

  • 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
    Finland Set to Lead EU Quantum Technology Defense Project – IoT World Today

    Finland Set to Lead EU Quantum Technology Defense Project – IoT World Today

    AI for lawyers: Win back your time using technology – nationaljurist.com

    Reclaim Your Time: How AI is Transforming the Legal Profession

    Prosecutors accuse men of exporting U.S. military technology to China – Milwaukee Journal Sentinel

    Men Charged with Illegally Exporting U.S. Military Technology to China

    ROLAND’S NEW WIRELESS TRIGGER TECHNOLOGY, PORTER & DAVIES ON TOUR, NEW 64 AUDIO ASPIRE UNIVERSAL IEM MODELS, WAVES FREE PLUGIN PACK – Modern Drummer Magazine

    ROLAND’S NEW WIRELESS TRIGGER TECHNOLOGY, PORTER & DAVIES ON TOUR, NEW 64 AUDIO ASPIRE UNIVERSAL IEM MODELS, WAVES FREE PLUGIN PACK – Modern Drummer Magazine

    This giant microwave may change the future of war – MIT Technology Review

    Revolutionizing Warfare: The Impact of a Game-Changing Giant Microwave

    Bajeed Pattan Joins Forbes Technology Council as Innovation Leader – PRWeb

    Bajeed Pattan Takes the Helm as Innovation Leader at Forbes Technology Council!

    Trending Tags

    • Nintendo Switch
    • CES 2017
    • Playstation 4 Pro
    • Mark Zuckerberg
No Result
View All Result
  • Home
  • Business
  • Entertainment
    Entertainment Partners Acquires CASHét, Digital Payments Vendor for Productions – Variety

    Entertainment Partners Acquires CASHét, Digital Payments Vendor for Productions – Variety

    Salem’s Harborwalk Garden Cultivates Community with Entertainment, Food, and Events – 105.7 WROR

    Discover the Vibrant Community Spirit at Salem’s Harborwalk Garden: A Hub for Entertainment, Food, and Fun!

    Entertainment-Focused Narrative and Culture Change Practice – New America

    Transforming Culture Through Engaging Entertainment Narratives

    Rising stars: Young classical musicians surging on social media – Yahoo

    Meet the Next Generation of Classical Music Sensations Making Waves on Social Media!

    Devin Harjes Dies: ‘Manifest’ & ‘Boardwalk Empire’ Actor Was 41 – WyomingNews.com

    Tragic Loss: Devin Harjes, Star of ‘Manifest’ and ‘Boardwalk Empire,’ Passes Away at 41

    Why Starz Entertainment Stock Soared Today – The Motley Fool

    Unpacking the Surge: What Fueled Starz Entertainment’s Stock Explosion Today!

  • 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
    Finland Set to Lead EU Quantum Technology Defense Project – IoT World Today

    Finland Set to Lead EU Quantum Technology Defense Project – IoT World Today

    AI for lawyers: Win back your time using technology – nationaljurist.com

    Reclaim Your Time: How AI is Transforming the Legal Profession

    Prosecutors accuse men of exporting U.S. military technology to China – Milwaukee Journal Sentinel

    Men Charged with Illegally Exporting U.S. Military Technology to China

    ROLAND’S NEW WIRELESS TRIGGER TECHNOLOGY, PORTER & DAVIES ON TOUR, NEW 64 AUDIO ASPIRE UNIVERSAL IEM MODELS, WAVES FREE PLUGIN PACK – Modern Drummer Magazine

    ROLAND’S NEW WIRELESS TRIGGER TECHNOLOGY, PORTER & DAVIES ON TOUR, NEW 64 AUDIO ASPIRE UNIVERSAL IEM MODELS, WAVES FREE PLUGIN PACK – Modern Drummer Magazine

    This giant microwave may change the future of war – MIT Technology Review

    Revolutionizing Warfare: The Impact of a Game-Changing Giant Microwave

    Bajeed Pattan Joins Forbes Technology Council as Innovation Leader – PRWeb

    Bajeed Pattan Takes the Helm as Innovation Leader at Forbes Technology Council!

    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

USD/JPY climbs a full cent as the US economy keeps on rolling – TradingView

USD/JPY Soars as US Economic Momentum Continues!

June 3, 2025
Entertainment Partners Acquires CASHét, Digital Payments Vendor for Productions – Variety

Entertainment Partners Acquires CASHét, Digital Payments Vendor for Productions – Variety

June 3, 2025
Entry list: Henry Ford Health 200 at Michigan International Speedway – arcaracing.com

Get Ready for the Henry Ford Health 200: Exciting Entry List Revealed for Michigan International Speedway!

June 3, 2025
Inside Iowa Politics: The men who have disappeared from the workforce – KTIV

Inside Iowa Politics: The men who have disappeared from the workforce – KTIV

June 3, 2025
Gayatri Narayan joins Builders FirstSource as President, Technology and Digital Solutions – Woodworking Network

Gayatri Narayan Takes the Helm as President of Technology and Digital Solutions at Builders FirstSource!

June 3, 2025
XPOLAR X Series: The Innovative Device Redefining Sports Recovery – GlobeNewswire

XPOLAR X Series: The Innovative Device Redefining Sports Recovery – GlobeNewswire

June 3, 2025
Plan to control nonpoint sources of pollution – Washington State Department of Ecology (.gov)

Taking Charge: Strategies to Tackle Nonpoint Source Pollution in Washington State

June 3, 2025
The Uncertain and Shifting Future of Ph.D.s in Science – Undark Magazine

Navigating the Unpredictable Future of Science Ph.D.s: Challenges and Opportunities Ahead

June 3, 2025
‘Sport Science’ host John Brenkus dies after battle with depression – ABC News

‘Sport Science’ host John Brenkus dies after battle with depression – ABC News

June 3, 2025
Cost of ‘minimum retirement lifestyle’ has fallen amid lower energy prices – London Evening Standard

Affordable Retirement: How Lower Energy Prices Are Redefining Minimum Lifestyle Costs

June 3, 2025

Categories

Archives

June 2025
MTWTFSS
 1
2345678
9101112131415
16171819202122
23242526272829
30 
« May    
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 (662)
  • Economy (677)
  • Entertainment (21,583)
  • General (15,259)
  • Health (9,720)
  • Lifestyle (680)
  • News (22,149)
  • People (677)
  • Politics (686)
  • Science (15,897)
  • Sports (21,182)
  • Technology (15,663)
  • World (665)

Recent News

USD/JPY climbs a full cent as the US economy keeps on rolling – TradingView

USD/JPY Soars as US Economic Momentum Continues!

June 3, 2025
Entertainment Partners Acquires CASHét, Digital Payments Vendor for Productions – Variety

Entertainment Partners Acquires CASHét, Digital Payments Vendor for Productions – Variety

June 3, 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