Reddit Programming
207 subscribers
1.22K photos
123K links
I will send you newest post from subreddit /r/programming
Download Telegram
Prompting AI for coding is not really efficient (mostly)
https://www.reddit.com/r/programming/comments/1gllj7t/prompting_ai_for_coding_is_not_really_efficient/

<!-- SC_OFF -->I am trying to utilize AI for my daily coding especially for REST API. Let say I have a function that involve: 1) extracting jwt from header, 2) encrypt/decrypt some data using external hash function, 3) writing into database using ORM, and 4) return http response and error handling. I have to explain everything on the prompt (which is a hard task compared to writing a plain code), includes where to import the external function it really hard get inconsistent answer everytime I ask the GPT. Do you think I am using AI on the wrong use case? If yes, then what is the use case AI for coding? I experience that writing code directly on to programming language takes less energy than explaining everything to GPT (sometimes I need to adjust the code manually after the GPT response) <!-- SC_ON --> submitted by /u/rioriorioooo (https://www.reddit.com/user/rioriorioooo)
[link] (https://chatgpt.com/) [comments] (https://www.reddit.com/r/programming/comments/1gllj7t/prompting_ai_for_coding_is_not_really_efficient/)