DEV Community

Cover image for ChatGPT - Prompts for developers

ChatGPT - Prompts for developers

Sandeep Kumar on May 17, 2024

Understand the ChatGPT: ChatGPT is an artificial intelligence (AI) chatbot that uses natural language processing to create humanlike con...
Collapse
 
mathiasdahl profile image
mathiasdahl

If your code is self-explanatory but requires commenting, ChatGPT can do it for you in no time.

Please don't. If your code is self-explanatory, no comments are needed. You should instead be proud! 😀💪🏻

Collapse
 
jeklah profile image
Jeklah

It may be self explanatory to someone who just wrote it, but not to the same person in a number of years or a totally different person. Always comment anything that isn't glaringly obvious.

Collapse
 
axl989 profile image
Sergio Olivieri

Comments are always useful

Collapse
 
kiril6 profile image
Kiril Delovski

Comments are for Juniors :D

Collapse
 
gokayburuc profile image
gokayburuc.dev

Comments are vital, especially when multiple people are working on the same project at the same time. If there is no technical documentation about the project, it may take time to understand the project. For those new to the project, it is important to get precise information about the previous developer's model installation information and writing types from the comment lines. Never underestimate comments.

Collapse
 
mehran_taherimoud_620cb59 profile image
Mehran Taherimoud

It depends, the definition of self-explanatory varies by the level of code you write and also the language.

Collapse
 
inn0cent_zer0 profile image
inn0cent_zer0

💯

Collapse
 
bybydev profile image
byby.dev

Very helpful. I'm still using normal chat.

Collapse
 
tiani91 profile image
Tiani Pierce

I appreciate this article because it shows how we can utilize AI to our benefit. I been trying to figure out how to utilize AI as a developer, this helps with giving prompt ideas. Thank you so much for taking time to create this!!

Collapse
 
techiesdiary profile image
Sandeep Kumar

Thanks for your kind words and glad to know it helped :)

Collapse
 
algorodev profile image
Alex Gonzalez

So helpful! Many thanks for sharing

Collapse
 
keizzmann profile image
The_Keizzmann😁🎹🎹💻

Nice article. I see how to make my prompts more direct instead of my previous use habits.

Collapse
 
sean969 profile image
S.E.A.N

This is actually helpful makes it also better to understand as a developer what is it your trying to achieve

Collapse
 
bharath_g_aeb53f05bd42675 profile image
Bharath G

Very helpful 😃

Collapse
 
officialphaqwasi profile image
Isaac Klutse

Very helpful 👌

Collapse
 
saugat_dhungel_6d880563ca profile image
Saugat Dhungel

This article is very helpful!

Collapse
 
shivanshi770 profile image
shivanshi

Prompt engineering really helps a lot when using chat gpt for writing not just with codes but with making it write anything. It is something everyone should know to get better results from this AI

Collapse
 
learn_with_santosh profile image
Santosh Shelar

Very helpful. Thanks for sharing

Collapse
 
aondofa_ephraim_b1235e023 profile image
aondofa ephraim

Thanks for the post, it's helpful

Collapse
 
techiesdiary profile image
Sandeep Kumar

Thanks everyone, a good hand on prompting will help the engineers to save effort and write good quality software.

Keep Prompting !!!

Collapse
 
matthew_kimont_5d53df065a profile image
Matt Kimont

Just ask what prompt to ask, what prompt are the most understandable

Collapse
 
lzl profile image
lzlptk

Thanks! Most of the prompts are eerily similar to the prompts in DEV ChatGPT Prompts.

Collapse
 
carl_alexander_bda2d0d3c4 profile image
carl alexander

Good and clean code does not need comments, they could do more harm than clarify. This is what I think.

Collapse
 
pintovsa profile image
Rizaka23

Yes, I heard about this too. It's basically like ChatGPT Image. This way, instead of just babbling words, he can look at pictures and discuss them. Quite interesting, isn't it? It's like moving from text messages to video calls, but for AI. I think this is a big breakthrough in artificial intelligence.