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
 
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
 
bybydev profile image
byby

Very helpful. I'm still using normal chat.

Collapse
 
keizzmann profile image
The_Keizzmann😁🎹🎹💻

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

Collapse
 
algorodev profile image
Alex Gonzalez

So helpful! Many thanks for sharing

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
 
aondofa_ephraim_b1235e023 profile image
aondofa ephraim

Thanks for the post, it's 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
 
bharath_g_aeb53f05bd42675 profile image
Bharath G

Very helpful 😃

Collapse
 
learn_with_santosh profile image
Santosh Shelar

Very helpful. Thanks for sharing

Collapse
 
matthew_kimont_5d53df065a profile image
Matt Kimont

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

Collapse
 
magdaleman62334 profile image
Magdale Mandala

Greetings to all! Recently heard about something called 'ChatGPT Image'. Can someone explain what this concept is and how it relates to the ChatGPT model?

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.