A senior programmer experienced ChatGPT in depth for a week and found that...

I clocked in to work on Monday, and my boss came up to me and said, "Xiao Li, I have a new requirement for you to do this week. Add a smart mock function to our API management platform...". I reflexively almost blurted out: "This requirement cannot be fulfilled...". But at the nick of time, I remembered the recently popular ChatGPT. Wouldn’t bragging make programmers unemployed? Then leave this requirement to you!

demand analysis

As a programmer, the first step when receiving a new requirement is to do a requirement analysis, so I asked ChatGPT...

........???

I'll ask you to write a requirements analysis. Have you considered both technical implementation and security? Let you imitate, not let you surpass! Damn it, there’s artificial intelligence!

But upon closer inspection, it is indeed quite reliable, and even more thoughtful than I thought.

Technology selection

After demand analysis, the second step is to make technology selection, that is, to design an implementation plan.

In line with the principle of not reinventing the wheel, the normal thing is to search Google to see if there are any useful open source tools. This time I asked ChatGPT instead.

 The mouth is quite tough! But there's nothing wrong with that. Maybe my question is not accurate.

write code

After completing the requirements analysis and technical solutions, we entered the exciting process of writing code. As a senior CV (referring to control CV) engineer, before writing code, we must first embrace the open source spirit! (Referring to Baidu and Google copying codes)

But I have to say that the quality of posts and articles online is extremely poor! Often after searching for a long time, no suitable information can be found (meaning that the code can be used directly by copying it)! Since this requirement requires looping through sublists, I described my requirements to ChatGPT.

Hey! It can be used directly after copying it. Not only is the code style simple, but it also comes with explanations.

The requirement requires string matching, but regular expressions are too troublesome, and it gives me a headache just thinking about it. Then let ChatGPT help me write a regular expression!

 

He mistakenly thought that the first expression matched the email address. Just add quotes to the email to represent the string. Tried it and it was a perfect match! After reading a few more explanations, I basically learned it myself. Much clearer than online blogs and tutorials!

In terms of coding, I feel that it is quite good to let ChatGPT write some simple tools or methods, which greatly saves my own coding and debugging time.

Daily and weekly newspapers

Before I knew it, a wonderful week had passed with ChatGPT, and it was time for the weekly report! Come here, it’s Friday. Let ChatGPT write a weekly report for me!

 

The nonsense is just for you to understand. It really looks like a state-owned enterprise!

Ahem, cough, cough, be serious, no kidding! After all, I did something this week, so help me polish it up~ First find some internet slang and feed it to it!

 

 

? ? ? I was shocked when the weekly report came out! This level is at least Ali P8! After reading it carefully, I found that ChatGPT is not just a splicing of words. Internet slang is interspersed in an orderly manner, which is really interesting. The boss who only knows how to merge weekly reports may be in danger.. I will immediately fall back tactically.jpg 

Summarize

Experienced it in depth for a week. In terms of improving work productivity, ChatGPT is undoubtedly amazing to me, but it is obviously alarmist to say that it can replace programmers as stated on the Internet. To me, it is more like a large search engine, which greatly improves the efficiency of my information retrieval. Moreover, a large part of programmers' daily work is communication and collaboration with colleagues (referring to arguing with products and blaming others).

However, if you also have a certain foundation and the ability to think independently, then ChatGPT can better improve your productivity. If you have no foundation and judgment and want to rely on it to write code for you, then just go to sleep. Because many times it will unswervingly talk nonsense. If you completely believe it, you will be scolded by your boss...

Supongo que te gusta

Origin blog.csdn.net/2301_77531618/article/details/130855695
Recomendado
Clasificación