Programming and AI...
ChatGPT. I was checking what the hubbub was about AI code generation. Did a simple, base expirement with ChatGPT.
First, I asked it to generate code in C that would add two numbers input by a user. It generated the following Code,
It explained the code, And wait for it.... notified me that the code does not have Input Data Validation. (love it!!!).
Ok, Smarty Pants, I thought, if you are smart enough to see the lack of data validation, generate a robost code then.
So next, requested code for same senario but with added numeric validation on the user input. It resonded with
along with the complete explanation of the code. Color me Impressed!!!
Epiphany!! It will be long time before we need to worry about SkyNet taking over the Terminators and fighting humanity. But if we are not using AI to Validate Software, look for Vulnerabilities, and get suggestions on fixing, then we are missing a huge opportunity.
Any Feedback?
Search Engine Optimization Team Lead – Kolos Digital
1 年Praveen, thanks for sharing!