this post was submitted on 03 Oct 2024
373 points (94.7% liked)

Technology

60058 readers
1967 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 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] Landless2029@lemmy.world 21 points 2 months ago (1 children)

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 9 points 2 months ago (2 children)

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...

[–] Landless2029@lemmy.world 5 points 2 months 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.

[–] dipdowel@feddit.nl 2 points 2 months ago

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