348
you are viewing a single comment's thread
view the rest of the comments
[-] Landless2029@lemmy.world 21 points 21 hours ago

Everyone keeps talking about autocomplete but I've used it successfully for comments and documentation.

You can use vs code extensions to generate and update readme and changelog files.

Then if you follow documentation as code you can update your Confluence/whatever by copy pasting.

[-] Dremor@lemmy.world 7 points 15 hours ago

I also use it a lot for unit tests. It helps a lot when you have to write multiple edge cases, and even find new one at times. Like putting a random int in an enum field (enumField = (myEnum)1000), I didn't knew you could do that...

[-] dipdowel@feddit.nl 1 points 7 hours ago

Yeah, I also find it super helpful with unit tests, saves a lot of time.

[-] Landless2029@lemmy.world 3 points 14 hours ago

Yeah. I've found new logic by asking GPT for improvements on my code or suggestions.

I cut the size of a function in half once using a suggested recursive loop and it blew my mind.

Feels like having a peer to do a code review on hand at all times.

this post was submitted on 03 Oct 2024
348 points (94.6% liked)

Technology

58437 readers
5813 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS