this post was submitted on 27 Jan 2024
147 points (98.0% liked)

Programming

17119 readers
126 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS
 

Interesting to see the benefits and drawbacks called out.

you are viewing a single comment's thread
view the rest of the comments
[–] GammaGames@beehaw.org 3 points 8 months ago* (last edited 8 months ago) (2 children)

Makes sense, even if it’s not good practice.

It is really useful for hobby projects! I needed a recursive function to find a path between two nodes in a graph and it wrote me something that worked with my data in a few seconds, saved a bit of time

[–] MonkderZweite@feddit.ch 9 points 8 months ago (1 children)

saved a bit of time.

For now.

[–] GammaGames@beehaw.org -1 points 8 months ago (1 children)
[–] MonkderZweite@feddit.ch 8 points 8 months ago* (last edited 8 months ago) (2 children)

Best practices exist to save you time and nerves in debugging.

[–] magic_lobster_party@kbin.social 2 points 8 months ago (1 children)

Good practices don’t matter much for small hobby projects.

[–] MonkderZweite@feddit.ch 5 points 8 months ago

Training bad habits... vs. fun, i get it.

[–] GammaGames@beehaw.org 2 points 8 months ago

Meh, I knew that my graph would never have loops and would only ever have one path from A to B, so it did it well enough. Pretty easy to test!

[–] silasmariner@programming.dev 5 points 8 months ago (2 children)

I find that code way too fun to write to let someone or something else do it for me 😂

[–] redcalcium@lemmy.institute 4 points 8 months ago

Actual time spent micromanaging the AI until it produces the perfect code may or may not exceed writing the code yourself.

[–] GammaGames@beehaw.org 1 points 8 months ago

That’s fair, and if I were getting paid for it I’d do the same! But it’s for a project that’s essentially a pomodoro timer 😆 so it’s harder to justify the time