Be sure to follow me on Twitter at on Facebook at /DavidGewirtz, on Instagram at /DavidGewirtz, and on YouTube at /DavidGewirtzTV. You can follow my day-to-day project updates on social media. Have you used ChatGPT to explain or rewrite code? Share with us in the comments below. Make sure you examine and test everything it gives you. If you're a newbie coder, don't fully rely on ChatGPT to do your work for you. Make sure you know how to code well enough to notice these inconsistent results. Once again, here's my recommendation: Feel free to use ChatGPT for coding help but be aware that it's inconsistent. Also problematic: The fact that its third try was essentially unusable because it incorporated a commented-out line of code.Īlso: ChatGPT: Who's using the AI tool and why? In my last example, the fact that ChatGPT returned three different versions from one block of code is a bit odd. Food for thoughtĪs with many of our other explorations into the capabilities of the AI, I found that it's both extremely useful and a bit batty. That code was commented out for a reason. There is now a C++ version with demo sketch for Arduino. It manages the output buffer so you don't overrun, it handles all the fiddly quotes, brackets and commas and reports where you have tried to create invalid JSON. You should never rewrite code and include it back in a commented-out line of code. jWrite is a simple way of writing JSON to a char buffer in C, directly from native variables.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |