您现在的位置是:OK, so ChatGPT just debugged my code. For real >>正文

OK, so ChatGPT just debugged my code. For real

后花园论坛社区|2024夜上海论坛网|爱上海419论坛 -- Back garden54人已围观

简介David Gewirtz/ZDNETProgramming is a constant game of mental Jenga: one line of code stacked upon ano...

David Gewirtz/ZDNET

Programming is a constant game of mental Jenga: one line of code stacked upon another, building a tower of code you hope is robust enough not to come crashing down.

But it always does, as code never works the first time it's run. So, one of the key skills for any programmer is debugging -- the art and science of finding why code isn't running or is doing something unexpected or undesirable.

zd-del2

The Intersection of Generative AI and Engineering

The surge of generative AI can harness tremendous potential for the engineering realm. It can also come with its challenges, as enterprises and engineers alike figure out the impact of AI on their roles, business strategies, data, solutions, and product development. What does the future roadmap look like for bringing generative AI into the software fold? ZDNET decodes from all angles.

Read now

It's a little like being a detective, finding clues, and then finding out what those clues are trying to tell you. It's very frustrating and very satisfying, sometimes at exactly the same time.

I do a lot of debugging. It's not just because code never works the first time it's run. It's also because I use the debugging to tell me how the code is running, and then tweak it along the way.

But while good debugging does require its own special set of skills, it's also ultimately just programming. Once you find out why a block of code isn't working, you have to figure out how to write something that does work.

Real-world ChatGPT testing

This week, I was working on three coding tasks for software that I maintain. Two were fixes for bugs reported by users. One was a new piece of code to add a new feature. This was real, run-of-the-mill programming work for me. It was part of my regular work schedule.

ChatGPT and ExcelHow to use ChatGPT to write Excel formulas codegptHow to use ChatGPT to write code ChatGPT vs Bing ChatChatGPT vs. Bing Chat: Which AI chatbot should you use? Person asking ChatGPT questions on a laptopHow to use ChatGPT to build your resume Person using ChatGPT on a laptopHow does ChatGPT work? A robot texting on a smartphone in spaceHow to get started using ChatGPT ChatGPT and ExcelHow to use ChatGPT to write Excel formulas
  • codegptHow to use ChatGPT to write code
  • ChatGPT vs Bing ChatChatGPT vs. Bing Chat: Which AI chatbot should you use?
  • Person asking ChatGPT questions on a laptopHow to use ChatGPT to build your resume
  • Person using ChatGPT on a laptopHow does ChatGPT work?
  • A robot texting on a smartphone in spaceHow to get started using ChatGPT
  • Editorial standards Show Comments

    Tags:

    相关文章

    

    友情链接